Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72288

qt-everywhere-src-5.11.3/qtwayland/src/compositor/compositor_api/qwaylandoutputmode.cpp:101]: (style) Same expression on both sides of '!='.

XMLWordPrintable

    • All
    • d25b3b7f1059d5561bce3efe7ea903ea76d4e888 (qt/qtwayland/5.12)

      Source code is

       

      bool QWaylandOutputMode::operator!=(const QWaylandOutputMode &other) const
      {
       return size() != other.size() || refreshRate() != refreshRate();
      }
      

      Maybe better code

       

      bool QWaylandOutputMode::operator!=(const QWaylandOutputMode &other) const
      {
       return size() != other.size() || refreshRate() != other.refreshRate();
      }
      

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

            johanhelsing Johan Helsing
            dcb David Binderman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes