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

Make sure QFontDatabase methods are used as static methods

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.0.0 RC
    • Fix Version/s: None
    • Component/s: GUI: Font handling
    • Labels:
      None
    • Commits:
      5ea1f403502130ed12f6f6a2c6072f4f45e3d488 (qt/qtbase/dev)

      Description

      As per API review comment at https://codereview.qt-project.org/c/qt/qtbase/+/312852/3/src/gui/text/qfontdatabase.h

      QFontDatabase is now just a bunch of static methods and enums. It could just as well be a namespace, but that would break a lot of code that instantiates QFontDatbase today.

      As a first step, deprecate the constructor, cleanup the code in Qt to call methods as static members.

        Attachments

        For Gerrit Dashboard: QTBUG-88114
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            vhilshei Volker Hilsheimer
            Reporter:
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews