summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorSergey Radionov <RSATom@gmail.com>2014-09-24 12:54:01 +0700
committerSergey Radionov <RSATom@gmail.com>2014-09-24 09:46:57 +0200
commit2137cb7dc5c902ce71855901c83c4c9d87b1ce2d (patch)
tree166e2bbcc84a1a19d595e20eab31823968e565ba /src/plugins/platforms
parent2d685b8316fb6f68ca17b371f3821494805b85cc (diff)
Windows: fix obvious mistyping in getSysColor
Change-Id: I1f215cdf17d85119535df35bbff1ee653ecc0ad5 Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r--src/plugins/platforms/windows/qwindowstheme.cpp2
1 files changed, 1 insertions, 1 deletions
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