Windows: fix unreadable white text for focused combo boxes

Task-number: QTBUG-42390
Change-Id: Ia52c7ac3d2e3ca155692c8f020a565054716c86b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
J-P Nurmi 2014-11-05 15:03:23 +01:00
parent 76735f3fa0
commit 78cdb6b4b1

View File

@ -1473,7 +1473,11 @@ void QWindowsVistaStyle::drawControl(ControlElement element, const QStyleOption
break;
}
#endif // QT_NO_ITEMVIEWS
#ifndef QT_NO_COMBOBOX
case CE_ComboBoxLabel:
QCommonStyle::drawControl(element, option, painter, widget);
break;
#endif // QT_NO_COMBOBOX
default:
QWindowsXPStyle::drawControl(element, option, painter, widget);
break;