fixing typo. Resolves toolbox that is drawn outside screen
svn path=/trunk/KDE/kdelibs/; revision=891521
This commit is contained in:
parent
f8acdb1861
commit
8eeb660cdd
@ -424,7 +424,7 @@ void ToolBox::reposition()
|
|||||||
QRectF screenGeom = avail;
|
QRectF screenGeom = avail;
|
||||||
|
|
||||||
if (screen > -1 && screen < d->containment->corona()->numScreens()) {
|
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);
|
screenGeom = d->containment->corona()->screenGeometry(screen);
|
||||||
avail.translate(-screenGeom.topLeft());
|
avail.translate(-screenGeom.topLeft());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user