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

List:       kde-commits
Subject:    kdebase/kicker/buttons
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2005-02-14 6:52:19
Message-ID: 20050214065219.5ECBF1CF4D () office ! kde ! org
[Download RAW message or body]

CVS commit by aseigo: 

kill the tip when toggling
BUG:99274


  M +7 -0      desktopbutton.cpp   1.16


--- kdebase/kicker/buttons/desktopbutton.cpp  #1.15:1.16
@@ -32,4 +32,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE 
 #include "showdesktop.h"
 #include "kicker.h"
+#include "kickertip.h"
+#include "kickerSettings.h"
 
 #include "desktopbutton.h"
@@ -53,4 +55,9 @@ DesktopButton::DesktopButton( QWidget* p
 void DesktopButton::toggle( bool b )
 {
+    if (KickerSettings::showMouseOverEffects())
+    {
+        KickerTip::the()->untipFor(this);
+    }
+
     setOn( b );
 }


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

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