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

qtlocation/src/plugins/position/android/src/qgeopositioninfosource_android.cpp:234]: (style) Same expression on both sides of '&&'.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.1
    • 5.11.3
    • Location
    • None
    • All
    • 3d38d96c44d376a10cbe140f7b7c6866bd203471 (qt/qtlocation/5.12)

    Description

      Source code is

       

      if (info.hasAttribute(QGeoPositionInfo::HorizontalAccuracy) &&
       info.hasAttribute(QGeoPositionInfo::HorizontalAccuracy))
       {
       best = info.attribute(QGeoPositionInfo::HorizontalAccuracy) <
       best.attribute(QGeoPositionInfo::HorizontalAccuracy) ? info : best;
       continue;
       }
      

       

      Possibly untested code ?

       

      Attachments

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

        Activity

          People

            ablasche Alex Blasche
            dcb David Binderman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes