[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-19 0:40:39
Message-ID: 1227055239.644476.5010.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 886331 by aseigo:

remove some todos, add some debug ... though now i can't reproduce the problem where \
my cashew scoots over the left randomly. hum hum hum


 M  +3 -4      toolbox.cpp  


--- trunk/KDE/kdelibs/plasma/private/toolbox.cpp #886330:886331
@@ -196,11 +196,8 @@
     }
 
     //TODOs:
-    // save toolbox position
     // move relative to where on the toolbox it was grabbed
-    // stop the toolbox from painting and having a boundingRect that is negative
     // sticky points at midpoints
-    // change how buttons appear depending on the location of the box
     d->dragging = true;
     d->userMoved = true;
     const QPoint newPos = mapToParent(event->pos()).toPoint();
@@ -363,6 +360,8 @@
             setPos(0, offset);
             break;
     }
+    kDebug() << "marked as user moved" << pos()
+             << (d->containment->containmentType() == \
Containment::PanelContainment);  }
 
 void ToolBox::reposition()
@@ -391,7 +390,7 @@
                 setCorner(ToolBox::Right);
             }
         }
-        //kDebug() << pos();
+        kDebug() << pos();
     } else if (d->containment->corona()) {
         //kDebug() << "desktop";
 


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

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