Commit ea83fe74 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Jens Bache-Wiig

Style: Fix sunken style for menu

Change-Id: I08aa20b6569cac814c479766842ff9422d1eb157
Reviewed-by: default avatarJens Bache-Wiig <jens.bache-wiig@digia.com>
parent e629a91f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment