[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeartwork/styles/plastik
From:       Sandro Giessl <sandro () giessl ! com>
Date:       2004-07-06 21:20:11
Message-ID: 20040706212011.814BB999A () office ! kde ! org
[Download RAW message or body]

CVS commit by giessl: 

Patch by David Johnson: A fix for Konqueror's tabbar highlighting when close buttons \
are enabled instead of website icons (highlighted widget inside another highlighted \
widget...)


  M +2 -2      plastik.cpp   1.86


--- kdeartwork/styles/plastik/plastik.cpp  #1.85:1.86
@@ -3607,10 +3607,10 @@ bool PlastikStyle::eventFilter(QObject *
             tabbar->repaint(false);
         }
-        else if ((ev->type() == QEvent::MouseMove) && (obj == hoverWidget))
+        else if (ev->type() == QEvent::MouseMove)
         {
             QWidget* tabbar = static_cast<QWidget*>(obj);
             tabbar->repaint(false);
         }
-        else if ((ev->type() == QEvent::Leave) && (obj == hoverWidget) )
+        else if (ev->type() == QEvent::Leave)
         {
             QWidget* tabbar = static_cast<QWidget*>(obj);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic