fixing typo. Resolves toolbox that is drawn outside screen

svn path=/trunk/KDE/kdelibs/; revision=891521
This commit is contained in:
Beat Wolf 2008-12-02 12:44:39 +00:00
parent f8acdb1861
commit 8eeb660cdd

View File

@ -424,7 +424,7 @@ void ToolBox::reposition()
QRectF screenGeom = avail;
if (screen > -1 && screen < d->containment->corona()->numScreens()) {
screenGeom = d->containment->corona()->availableScreenRegion(screen).boundingRect();
avail = d->containment->corona()->availableScreenRegion(screen).boundingRect();
screenGeom = d->containment->corona()->screenGeometry(screen);
avail.translate(-screenGeom.topLeft());
}