From ea83fe74235e8fe8714467d530ebecb6f4e8ab5f Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Tue, 23 Oct 2012 09:40:21 +0200 Subject: [PATCH] Style: Fix sunken style for menu Change-Id: I08aa20b6569cac814c479766842ff9422d1eb157 Reviewed-by: Jens Bache-Wiig --- src/plugins/coreplugin/manhattanstyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(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;