[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/desktop/shell
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2011-01-28 23:31:23
Message-ID: 20110128233123.A9D10AC8BC () svn ! kde ! org
[Download RAW message or body]

SVN commit 1217835 by aseigo:

use DesktopCorona for this


 M  +1 -1      controllerwindow.cpp  


--- trunk/KDE/kdebase/workspace/plasma/desktop/shell/controllerwindow.cpp #1217834:1217835
@@ -229,7 +229,7 @@
 
         if (!moved) {
             // set it to the bottom of the screen as we have no better hints to go by
-            QRect geom = QApplication::desktop()->availableGeometry(screen());
+            QRect geom = PlasmaApp::self()->corona()->availableScreenRect(m_screen);
             setGeometry(geom.x(), geom.bottom() - height(), geom.width(), height());
         }
     } else {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic