diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2012-10-23 09:40:21 +0200 |
---|---|---|
committer | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2012-10-23 11:38:22 +0200 |
commit | ea83fe74235e8fe8714467d530ebecb6f4e8ab5f (patch) | |
tree | 6541d8bf4d6187b30e9f42a2cc231ba989863878 | |
parent | e629a91fb30d5b7b656fa4ebb0d5a51b9991e855 (diff) |
Style: Fix sunken style for menu
Change-Id: I08aa20b6569cac814c479766842ff9422d1eb157
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
-rw-r--r-- | src/plugins/coreplugin/manhattanstyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/manhattanstyle.cpp b/src/plugins/coreplugin/manhattanstyle.cpp index a0af4109c03..3b0163217a0 100644 --- a/src/plugins/coreplugin/manhattanstyle.cpp +++ b/src/plugins/coreplugin/manhattanstyle.cpp @@ -646,7 +646,7 @@ void ManhattanStyle::drawControl(ControlElement element, const QStyleOption *opt painter->save(); if (const QStyleOptionMenuItem *mbi = qstyleoption_cast<const QStyleOptionMenuItem *>(option)) { QColor highlightOutline = Utils::StyleHelper::borderColor().lighter(120); - bool act = mbi->state & State_Selected && mbi->state & State_Sunken; + bool act = mbi->state & State_Sunken; bool dis = !(mbi->state & State_Enabled); Utils::StyleHelper::menuGradient(painter, option->rect, option->rect); QStyleOptionMenuItem item = *mbi; |