SVN_SILENT: remove some out of date TODOs

svn path=/trunk/KDE/kdelibs/; revision=882216
This commit is contained in:
Aaron J. Seigo 2008-11-10 03:52:45 +00:00
parent 2b9aa1de28
commit 86e88a2be2

View File

@ -1491,8 +1491,8 @@ void ContainmentPrivate::positionToolBox()
toolBox->setCorner(ToolBox::Bottom);
toolBox->setPos(q->geometry().width() / 2 - toolBox->boundingRect().width() / 2,
q->geometry().height());
//defaulting to Horizontal right now
} else {
//defaulting to Horizontal right now
if (QApplication::layoutDirection() == Qt::RightToLeft) {
toolBox->setPos(q->geometry().left(),
q->geometry().height() / 2 - toolBox->boundingRect().height() / 2);
@ -1504,9 +1504,6 @@ void ContainmentPrivate::positionToolBox()
}
}
} else if (q->corona()) {
//TODO: we should probably get these values from the Plasma app itself
// so we actually know what the available space *is*
// perhaps a virtual method in Corona for this?
QRectF avail = q->corona()->availableScreenRegion(screen).boundingRect();
QRectF screenGeom = q->corona()->screenGeometry(screen);