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

Make QPMCache a non-QObject

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P4: Low
    • None
    • None
    • GUI: Painting
    • None

    Description

      It seems the only use of the QObject-ness of QPMCache (backend for QPixmapCache) is to be able to run timer events.

      This can be done in other ways, too (like an aggregated QTimer).

      In the case of the backend for QDesktopServices::openUrl(), a similar change saved ~1.5KiB in text, ~0.3KiB in data size and 26 relocations: https://codereview.qt-project.org/c/qt/qtbase/+/395356

      Attachments

        Activity

          People

            vgt Eirik Aavitsland
            mmutz Marc Mutz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: