Commit bd10aa81 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Style: Fix sunken style for menu again


 apparently was not enough

Change-Id: I54d471ae79496f42d85e5fe3d8239cb2cd902349
Reviewed-by: default avatarJens Bache-Wiig <>
parent d3942a50
......@@ -638,7 +638,7 @@ void ManhattanStyle::drawControl(ControlElement element, const QStyleOption *opt
if (const QStyleOptionMenuItem *mbi = qstyleoption_cast<const QStyleOptionMenuItem *>(option)) {
QColor highlightOutline = Utils::StyleHelper::borderColor().lighter(120);
bool act = mbi->state & State_Sunken;
bool act = mbi->state & (State_Sunken | State_Selected);
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