fix(src/windows): 修改初始状态未监听屏幕变化的bug
This commit is contained in:
parent
0028840607
commit
af3d36da73
|
@ -232,6 +232,7 @@ void MenuWindow::init()
|
|||
}
|
||||
});
|
||||
setScreen(QGuiApplication::primaryScreen());
|
||||
connect(screen(), &QScreen::geometryChanged, this, &MenuWindow::updateGeometry);
|
||||
|
||||
setTitle(QCoreApplication::applicationName());
|
||||
setResizeMode(SizeRootObjectToView);
|
||||
|
|
Loading…
Reference in New Issue