From 8a974f0f468d498fc645f2fa124f6222cb9d1dad Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Tue, 24 Jun 2008 03:16:33 +0000 Subject: [PATCH] small changes that make the code more readable svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823769 --- containment.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/containment.cpp b/containment.cpp index 8a6ac945a..92587de91 100644 --- a/containment.cpp +++ b/containment.cpp @@ -1101,16 +1101,14 @@ void Containment::Private::positionToolBox() } } } else { - QRectF r; QDesktopWidget *desktop = QApplication::desktop(); - r = desktop->availableGeometry(screen); + QRectF r = desktop->availableGeometry(screen); if (q->view() && !q->view()->transform().isScaling()) { toolBox->setPos(r.topRight()); } else { toolBox->setPos(q->mapFromScene(QPointF(q->geometry().topRight()))); } } - } void Containment::Private::triggerShowAddWidgets()