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

Controls styles use Qt.styleHints even though documentation advises against it

    XMLWordPrintable

Details

    • 51381c2ae (dev), 9335b0fd1 (dev), f54e007f1 (6.8), d70e645ca (6.8), fe9783f01 (6.7), 1af0fb656 (tqtc/lts-6.5)

    Description

      You should access StyleHints via Application::styleHints instead.
      

      https://doc.qt.io/qt-6/qml-qtqml-qt.html#styleHints-prop

      Instead they could use Application.styleHints which is also typed properly

      Attachments

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

        Activity

          People

            mitch_curtis Mitch Curtis
            poikelin Joni Poikelin
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: