From 18f59fb5a415cb389b94cd3d0ee9f63b6466f4d5 Mon Sep 17 00:00:00 2001 From: youdiansaodongxi Date: Thu, 25 Jul 2024 14:00:01 +0800 Subject: [PATCH] =?UTF-8?q?fix(src/windows):=20=E4=BF=AE=E6=94=B9=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E7=8A=B6=E6=80=81=E6=9C=AA=E7=9B=91=E5=90=AC=E5=B1=8F?= =?UTF-8?q?=E5=B9=95=E5=8F=98=E5=8C=96=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/windows/menu-main-window.cpp | 1 + 1 file changed, 1 insertion(+) 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);