Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-1093

QSR examples contain unnecessary code for setting the visibility

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • QSR 1.2
    • QSR 1.2
    • Examples
    • None

    Description

      After the Set visibility to 'on' by default change in QSR-1057, the examples have redundant code that is no longer needed.

      Main.cpp file code part can be removed.

      for (SafeRenderer::quint32 i=0U;i<layout.count(); i++) {
              QSafeEventVisibility visible;
              visible.setId(layout.item(i).id());
              visible.setValue(1U);
              stateManager.handleEvent(visible);
          }
      

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            assaarel Asmo Saarela (Inactive)
            assaarel Asmo Saarela (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes