QWizard: use the 3-int QColor ctor instead of the string one
The value is hard-coded, there's no need to parse a string to extract the value. Change-Id: I987280d7a92b7a1eb75233b2a1f811b5177f0a63 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
parent
6d49311a5d
commit
c9efdfd990
@ -1089,7 +1089,7 @@ void QWizardPrivate::recreateLayout(const QWizardLayoutInfo &info)
|
|||||||
// ### hardcoded for now:
|
// ### hardcoded for now:
|
||||||
titleFont = QFont(QLatin1String("Segoe UI"), 12);
|
titleFont = QFont(QLatin1String("Segoe UI"), 12);
|
||||||
QPalette pal(titleLabel->palette());
|
QPalette pal(titleLabel->palette());
|
||||||
pal.setColor(QPalette::Text, "#003399");
|
pal.setColor(QPalette::Text, QColor(0x00, 0x33, 0x99));
|
||||||
titleLabel->setPalette(pal);
|
titleLabel->setPalette(pal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user