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

List:       kde-commits
Subject:    KDE/kdebase/workspace/libs/plasmagenericshell/widgetsexplorer
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2010-08-31 23:15:29
Message-ID: 20100831231529.B72ECAC857 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1170448 by aseigo:

on press, not release.. much more natural feeling


 M  +2 -2      appletsfiltering.cpp  
 M  +1 -1      appletsfiltering.h  


--- trunk/KDE/kdebase/workspace/libs/plasmagenericshell/widgetsexplorer/appletsfiltering.cpp \
#1170447:1170448 @@ -111,9 +111,9 @@
     delete m_menu;
 }
 
-void FilteringTabs::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
+void FilteringTabs::mousePressEvent(QGraphicsSceneMouseEvent *event)
 {
-    Plasma::PushButton::mouseReleaseEvent(event);
+    Plasma::PushButton::mousePressEvent(event);
     QGraphicsView *view = Plasma::viewFor(this);
     if (view) {
         m_menu->adjustSize();
--- trunk/KDE/kdebase/workspace/libs/plasmagenericshell/widgetsexplorer/appletsfiltering.h \
#1170447:1170448 @@ -66,7 +66,7 @@
     void filterChanged(int index);
 
 protected:
-    void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
+    void mousePressEvent(QGraphicsSceneMouseEvent *event);
 
 private:
     //uses model to populate the tabs


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

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