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

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: QSR 1.2
    • Fix Version/s: QSR 1.2
    • Component/s: Examples
    • Labels:
      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);
          }
      

       

       

        TestRail: Results

          Attachments

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

            Activity

              People

              Assignee:
              assaarel Asmo Saarela
              Reporter:
              assaarel Asmo Saarela
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes

                    TestRail: Runs

                      TestRail: Cases