diff --git a/src/windows/menu-main-window.cpp b/src/windows/menu-main-window.cpp index fbb507c..c616703 100644 --- a/src/windows/menu-main-window.cpp +++ b/src/windows/menu-main-window.cpp @@ -232,6 +232,7 @@ void MenuWindow::init() } }); setScreen(QGuiApplication::primaryScreen()); + connect(screen(), &QScreen::geometryChanged, this, &MenuWindow::updateGeometry); setTitle(QCoreApplication::applicationName()); setResizeMode(SizeRootObjectToView);