diff --git a/qt/mainwindow.cpp b/qt/mainwindow.cpp index 4a157b4093..ae616afd53 100644 --- a/qt/mainwindow.cpp +++ b/qt/mainwindow.cpp @@ -21,12 +21,14 @@ #include #include #include + #include #else #include #include #include #include #include + #include #endif @@ -49,6 +51,10 @@ namespace qt MainWindow::MainWindow() : m_locationService(CreateDesktopLocationService(*this)) { + // Always runs on the first desktop + auto const desktop(QApplication::desktop()); + setGeometry(desktop->screenGeometry(0)); + m_pDrawWidget = new DrawWidget(this); QSurfaceFormat format = m_pDrawWidget->requestedFormat();