mirror of
https://github.com/gamecreature/QtAwesome.git
synced 2024-11-15 13:35:44 +08:00
style can be set by mode and state
This commit is contained in:
parent
902790e03e
commit
0fa06af758
@ -95,7 +95,7 @@ public:
|
||||
// set the default options
|
||||
QColor color = optionValueForModeAndState("color", mode, state, options).value<QColor>();
|
||||
QString text = optionValueForModeAndState("text", mode, state, options).toString();
|
||||
int st = options.value("style", style::fas).toInt();
|
||||
int st = optionValueForModeAndState("style", mode, state, options).toInt();
|
||||
|
||||
Q_ASSERT(color.isValid());
|
||||
Q_ASSERT(!text.isEmpty());
|
||||
|
Loading…
Reference in New Issue
Block a user