Windows: fix obvious mistyping in getSysColor
Change-Id: I1f215cdf17d85119535df35bbff1ee653ecc0ad5 Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
This commit is contained in:
parent
2d685b8316
commit
2137cb7dc5
@ -144,7 +144,7 @@ static inline QColor mixColors(const QColor &c1, const QColor &c2)
|
|||||||
|
|
||||||
static inline QColor getSysColor(int index)
|
static inline QColor getSysColor(int index)
|
||||||
{
|
{
|
||||||
return qColorToCOLORREF(GetSysColor(index));
|
return COLORREFToQColor(GetSysColor(index));
|
||||||
}
|
}
|
||||||
|
|
||||||
// from QStyle::standardPalette
|
// from QStyle::standardPalette
|
||||||
|
Loading…
Reference in New Issue
Block a user