Windows: Fix menu color for Windows, WindowsXP.

Typo in palette.

Change-Id: I8b4c23ef7f75ff3aa3351f15e4af0767a3ccd083
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
bb10
Friedemann Kleint 2012-04-04 11:55:24 +02:00 committed by Qt by Nokia
parent 779c7c3279
commit 246c16e000
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ static inline QPalette toolTipPalette(const QPalette &systemPalette)
static inline QPalette menuPalette(const QPalette &systemPalette)
{
QPalette result(systemPalette);
const QColor menuColor(getSysColor(COLOR_INFOBK));
const QColor menuColor(getSysColor(COLOR_MENU));
const QColor menuTextColor(getSysColor(COLOR_MENUTEXT));
const QColor disabled(getSysColor(COLOR_GRAYTEXT));
const bool isFlat = booleanSystemParametersInfo(SPI_GETFLATMENU, false);