summaryrefslogtreecommitdiff
path: root/noncore/styles/liquid/liquid.cpp
Unidiff
Diffstat (limited to 'noncore/styles/liquid/liquid.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/styles/liquid/liquid.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/styles/liquid/liquid.cpp b/noncore/styles/liquid/liquid.cpp
index 67e53e9..fc925b8 100644
--- a/noncore/styles/liquid/liquid.cpp
+++ b/noncore/styles/liquid/liquid.cpp
@@ -127,5 +127,5 @@ bool TransMenuHandler::eventFilter(QObject *obj, QEvent *ev)
127 127
128 if (p->inherits("QPopupMenu"))
129 pixDict.insert(p->winId(), pix); 128 pixDict.insert(p->winId(), pix);
130 else { 129
130 if (!p->inherits("QPopupMenu")) {
131 p->setBackgroundPixmap(*pix); 131 p->setBackgroundPixmap(*pix);
@@ -148,5 +148,4 @@ bool TransMenuHandler::eventFilter(QObject *obj, QEvent *ev)
148 148
149 if (p->inherits("QPopupMenu"))
150 pixDict.remove(p->winId()); 149 pixDict.remove(p->winId());
151 else { 150 if (!p->inherits("QPopupMenu")) {
152 p->setBackgroundMode(QWidget::PaletteBackground); 151 p->setBackgroundMode(QWidget::PaletteBackground);
@@ -847,2 +846,3 @@ void LiquidStyle::polish(QWidget *w)
847 846
847 if ( !w-> inherits("QFrame") || (((QFrame*) w)-> frameShape () == QFrame::NoFrame ))
848 w-> setBackgroundOrigin ( QWidget::ParentOrigin ); 848 w-> setBackgroundOrigin ( QWidget::ParentOrigin );