summaryrefslogtreecommitdiff
path: root/noncore/styles
Side-by-side diff
Diffstat (limited to 'noncore/styles') (more/less context) (show whitespace changes)
-rw-r--r--noncore/styles/liquid/liquid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/styles/liquid/liquid.cpp b/noncore/styles/liquid/liquid.cpp
index fc925b8..87b5488 100644
--- a/noncore/styles/liquid/liquid.cpp
+++ b/noncore/styles/liquid/liquid.cpp
@@ -1989,21 +1989,21 @@ void LiquidStyle::drawArrow(QPainter *p, Qt::ArrowType type, bool on, int x,
}
void LiquidStyle::drawMenuBarItem(QPainter *p, int x, int y, int w, int h,
QMenuItem *mi, QColorGroup &g, bool /*enabled*/, bool active )
{
+ if(active){
x -= 2; // Bug in Qt/E
y -= 2;
w += 2;
h += 2;
+ }
p-> fillRect ( x, y, w, h, g.brush(QColorGroup::Background));
- w -= 2;
-
if(menuHandler->useShadowText()){
QColor shadow;
if(p->device() && p->device()->devType() == QInternal::Widget &&
((QWidget *)p->device())->inherits("QMenuBar")){
shadow = ((QMenuBar*)p->device())->isTopLevel() ? g.button().dark(130) :
g.background().dark(130);