diff --git a/src/windows/menu-main-window.cpp b/src/windows/menu-main-window.cpp index fbb507c85f8841a4f36d751dbeeb0c366f1b1193..c6167038d71b5e67e55eba080113b284918a798e 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);