mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 20:48:56 +02:00
Remove setMinimum/Maximum Width/Height in qt launcher
This commit is contained in:
parent
2504ab2c8c
commit
4afc4d6915
1 changed files with 0 additions and 6 deletions
|
@ -37,12 +37,6 @@ Launcher::Launcher(int& argc, char**argv) : QGuiApplication(argc, argv) {
|
||||||
_launcherWindow->setWidth(627);
|
_launcherWindow->setWidth(627);
|
||||||
_launcherWindow->setResizeMode(QQuickView::SizeRootObjectToView);
|
_launcherWindow->setResizeMode(QQuickView::SizeRootObjectToView);
|
||||||
_launcherWindow->show();
|
_launcherWindow->show();
|
||||||
|
|
||||||
auto window = allWindows()[0];
|
|
||||||
window->setMaximumHeight(540);
|
|
||||||
window->setMaximumWidth(627);
|
|
||||||
window->setMinimumHeight(540);
|
|
||||||
window->setMinimumWidth(627);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Launcher::~Launcher() {
|
Launcher::~Launcher() {
|
||||||
|
|
Loading…
Reference in a new issue