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

svn path=/trunk/KDE/kdelibs/; revision=886331
This commit is contained in:
Aaron J. Seigo 2008-11-19 00:40:38 +00:00
parent 33e2b141ef
commit b4a67cda4b

View File

@ -196,11 +196,8 @@ void ToolBox::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
}
//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 @@ void ToolBox::load()
setPos(0, offset);
break;
}
kDebug() << "marked as user moved" << pos()
<< (d->containment->containmentType() == Containment::PanelContainment);
}
void ToolBox::reposition()
@ -391,7 +390,7 @@ void ToolBox::reposition()
setCorner(ToolBox::Right);
}
}
//kDebug() << pos();
kDebug() << pos();
} else if (d->containment->corona()) {
//kDebug() << "desktop";