diff options
author | Sami Merilä <sami.merila@nokia.com> | 2009-08-14 09:42:10 (GMT) |
---|---|---|
committer | Sami Merilä <sami.merila@nokia.com> | 2009-08-14 09:42:10 (GMT) |
commit | d00e02bcd814402ac97f3fa033c541e07f3f9549 (patch) | |
tree | 736e0a39f4d4da94e7b2dea26fd67e991111b16e /src/gui | |
parent | f960159259d975f20bad6abe154ea71695537f42 (diff) | |
download | Qt-d00e02bcd814402ac97f3fa033c541e07f3f9549.zip Qt-d00e02bcd814402ac97f3fa033c541e07f3f9549.tar.gz Qt-d00e02bcd814402ac97f3fa033c541e07f3f9549.tar.bz2 |
S60Style: Draw non-initialized icons as enabled.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/styles/qs60style.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp index 50eb2e1..1210316 100644 --- a/src/gui/styles/qs60style.cpp +++ b/src/gui/styles/qs60style.cpp @@ -2783,7 +2783,7 @@ QIcon QS60Style::standardIconImplementation(StandardPixmap standardIcon, QS60StyleEnums::SkinParts part; QS60StylePrivate::SkinElementFlags adjustedFlags; if (option) - adjustedFlags = (option->state & State_Enabled) ? + adjustedFlags = (option->state & State_Enabled || option->state == 0) ? QS60StylePrivate::SF_StateEnabled : QS60StylePrivate::SF_StateDisabled; |