summaryrefslogtreecommitdiff
path: root/noncore/styles/liquid
Side-by-side diff
Diffstat (limited to 'noncore/styles/liquid') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/styles/liquid/liquid.cpp12
1 files changed, 6 insertions, 6 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
@@ -1994,6 +1994,8 @@ void LiquidStyle::drawMenuBarItem(QPainter *p, int x, int y, int w, int h,
{
- x -= 2; // Bug in Qt/E
- y -= 2;
- w += 2;
- h += 2;
+ if(active){
+ x -= 2; // Bug in Qt/E
+ y -= 2;
+ w += 2;
+ h += 2;
+ }
@@ -2001,4 +2003,2 @@ void LiquidStyle::drawMenuBarItem(QPainter *p, int x, int y, int w, int h,
- w -= 2;
-
if(menuHandler->useShadowText()){