summaryrefslogtreecommitdiff
path: root/src/skingui
diff options
context:
space:
mode:
Diffstat (limited to 'src/skingui')
-rw-r--r--src/skingui/skingui.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/skingui/skingui.cpp b/src/skingui/skingui.cpp
index c30224d..ccfccfb 100644
--- a/src/skingui/skingui.cpp
+++ b/src/skingui/skingui.cpp
@@ -590,8 +590,9 @@ void SkinGui::loadConfig() {
setWindowState( (Qt::WindowStates) set->value("state", 0).toInt() );
if (!DesktopInfo::isInsideScreen(this)) {
- move(0,0);
- qWarning("SkinGui::loadConfig: window is outside of the screen, moved to 0x0");
+ QPoint tl = DesktopInfo::topLeftPrimaryScreen();
+ move(tl);
+ qWarning("DefaultGui::loadConfig: window is outside of the screen, moved to %d x %d", tl.x(), tl.y());
}
}