Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
if (const QStyleOptionSpinBox *spinBox = qstyleoption_cast<const QStyleOptionSpinBox *>(option)) {
tmp = tmp + HexString<uint>(spinBox->buttonSymbols)
+ HexString<uint>(spinBox->stepEnabled)
- + QLatin1Char(spinBox->frame ? '1' : '0'); ;
+ + QLatin1Char(spinBox->frame ? '1' : '0');
}
#endif // QT_NO_SPINBOX
return tmp;
/*! \reimp */
void QWindowsStyle::polish(QApplication *app)
{
+ Q_D(QWindowsStyle);
+
QCommonStyle::polish(app);
- QWindowsStylePrivate *d = d_func();
- // We only need the overhead when shortcuts are sometimes hidden
- if (!proxy()->styleHint(SH_UnderlineShortcut, 0) && app)
- app->installEventFilter(this);
d->activeCaptionColor = app->palette().highlight().color();
d->activeGradientCaptionColor = app->palette().highlight() .color();