From 2137cb7dc5c902ce71855901c83c4c9d87b1ce2d Mon Sep 17 00:00:00 2001 From: Sergey Radionov Date: Wed, 24 Sep 2014 12:54:01 +0700 Subject: Windows: fix obvious mistyping in getSysColor Change-Id: I1f215cdf17d85119535df35bbff1ee653ecc0ad5 Reviewed-by: Jake Petroules --- src/plugins/platforms/windows/qwindowstheme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/platforms/windows') diff --git a/src/plugins/platforms/windows/qwindowstheme.cpp b/src/plugins/platforms/windows/qwindowstheme.cpp index 6a3930dc78..a23b3cb4bb 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 -- cgit v1.2.3