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

List:       kde-commits
Subject:    KDE/kdelibs/plasma/private
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2008-11-18 20:47:06
Message-ID: 1227041226.635172.22636.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 886220 by aseigo:

remove some more dead code due to c-n-p from DesktopToolBox


 M  +0 -11     paneltoolbox.cpp  
 M  +0 -1      paneltoolbox_p.h  


--- trunk/KDE/kdelibs/plasma/private/paneltoolbox.cpp #886219:886220
@@ -59,8 +59,6 @@
     : ToolBox(parent),
       d(new PanelToolBoxPrivate)
 {
-    connect(Plasma::Animator::self(), SIGNAL(movementFinished(QGraphicsItem*)),
-            this, SLOT(toolMoved(QGraphicsItem*)));
     connect(this, SIGNAL(toggled()), this, SLOT(toggle()));
 
     setZValue(10000000);
@@ -288,15 +286,6 @@
     update();
 }
 
-void PanelToolBox::toolMoved(QGraphicsItem *item)
-{
-    //kDebug() << "geometry is now " << static_cast<Plasma::Widget*>(item)->geometry();
-    if (!showing() &&
-        QGraphicsItem::children().indexOf(static_cast<Plasma::Applet*>(item)) != -1) {
-        item->hide();
-    }
-}
-
 void PanelToolBox::toggle()
 {
     d->toggled = !d->toggled;
--- trunk/KDE/kdelibs/plasma/private/paneltoolbox_p.h #886219:886220
@@ -58,7 +58,6 @@
 
 protected slots:
     void animate(qreal progress);
-    void toolMoved(QGraphicsItem*);
     void toggle();
     void assignColors();
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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