aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/addon/managementdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/addon/managementdialog.cpp')
-rw-r--r--src/modules/addon/managementdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/addon/managementdialog.cpp b/src/modules/addon/managementdialog.cpp
index f327db256..0347e530a 100644
--- a/src/modules/addon/managementdialog.cpp
+++ b/src/modules/addon/managementdialog.cpp
@@ -316,7 +316,7 @@ void KviScriptManagementDialog::installScript()
void KviScriptManagementDialog::showEvent(QShowEvent * e)
{
-// QRect r = parentWidget() ? parentWidget()->rect() : QApplication::desktop()->rect();
+// QRect r = parentWidget() ? parentWidget()->rect() : g_pApp->desktop()->screenGeometry(g_pApp->desktop()->primaryScreen());
// int x = (r.width() - width()) / 2;
// int y = (r.height() - height()) / 2;
// move(x,y);