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

Wrong enum values documented for scoped enum Qt::HighDpiScaleFactorRoundingPolicy

    XMLWordPrintable

    Details

    • Commits:
      46f71fcce6d278e62ec5a766d769681400b330ed
    • Sprint:
      DaVinci sprint 1

      Description

      Enum Qt::HighDpiScaleFactorRoundingPolicy values are defined as Qt::Round, Qt::Ceil and so on, but it needs to be in form of Qt::HighDpiScaleFactorRoundingPolicy::Round

      Documentation link: https://doc.qt.io/qt-5/qt.html#HighDpiScaleFactorRoundingPolicy-enum

      If Qt::Round is used in QApplication::setHighDpiScaleFactorRoundingPolicy(), it gives a compile time error.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                docteam Qt Documentation Team
                Reporter:
                shmittal Shveta Mittal
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes