diff --git a/src/plugins/platforms/windows/qwindowstheme.cpp b/src/plugins/platforms/windows/qwindowstheme.cpp index 6a3930dc78b..a23b3cb4bbc 100644 --- a/src/plugins/platforms/windows/qwindowstheme.cpp +++ b/src/plugins/platforms/windows/qwindowstheme.cpp @@ -144,7 +144,7 @@ static inline QColor mixColors(const QColor &c1, const QColor &c2) static inline QColor getSysColor(int index) { - return qColorToCOLORREF(GetSysColor(index)); + return COLORREFToQColor(GetSysColor(index)); } // from QStyle::standardPalette