-rw-r--r-- | noncore/styles/liquid/liquid.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/noncore/styles/liquid/liquid.cpp b/noncore/styles/liquid/liquid.cpp index 4013981..eb1ec6e 100644 --- a/noncore/styles/liquid/liquid.cpp +++ b/noncore/styles/liquid/liquid.cpp @@ -129,3 +129,3 @@ bool TransMenuHandler::eventFilter(QObject *obj, QEvent *ev) - if (!p->inherits("QPopupMenu")) { + if ( !p->inherits("QPopupMenu")) p->setBackgroundPixmap(*pix); @@ -142,3 +142,2 @@ bool TransMenuHandler::eventFilter(QObject *obj, QEvent *ev) } - } else if(ev->type() == QEvent::Hide){ @@ -149,3 +148,3 @@ bool TransMenuHandler::eventFilter(QObject *obj, QEvent *ev) pixDict.remove(p->winId()); - if (!p->inherits("QPopupMenu")) { + if ( !p->inherits("QPopupMenu")) p->setBackgroundMode(QWidget::PaletteBackground); @@ -161,3 +160,2 @@ bool TransMenuHandler::eventFilter(QObject *obj, QEvent *ev) } - } return(false); |