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

Make QPMCache a non-QObject

XMLWordPrintable

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

      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

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

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

              Created:
              Updated:

                There are no open Gerrit changes