diff options
Diffstat (limited to 'src/gui/painting/qpaintengine_mac_p.h')
-rw-r--r-- | src/gui/painting/qpaintengine_mac_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/painting/qpaintengine_mac_p.h b/src/gui/painting/qpaintengine_mac_p.h index 7a23472..04696af 100644 --- a/src/gui/painting/qpaintengine_mac_p.h +++ b/src/gui/painting/qpaintengine_mac_p.h @@ -110,6 +110,7 @@ public: static void initialize(); static void cleanup(); + static void clearColorSpace(QWidget* w); QPainter::RenderHints supportedRenderHints() const; @@ -134,7 +135,7 @@ protected: private: static bool m_postRoutineRegistered; static CGColorSpaceRef m_genericColorSpace; - static QHash<CGDirectDisplayID, CGColorSpaceRef> m_displayColorSpaceHash; + static QHash<QWidget*, CGColorSpaceRef> m_displayColorSpaceHash; // window -> color space static void cleanUpMacColorSpaces(); Q_DISABLE_COPY(QCoreGraphicsPaintEngine) }; |