aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2020-05-28 15:58:18 +0200
committerArisotura <thetotalworm@gmail.com>2020-05-28 15:58:18 +0200
commitf7e53c6f71c3bf6f082d1e5857f474f79f992602 (patch)
treeba366468a1ad69ce8fce8255827517666db82250 /src/frontend/qt_sdl
parent0804ab3c783363e28229a2028dc70b4238cb1802 (diff)
so you can't resize() before show()ing?? bullshit.
Diffstat (limited to 'src/frontend/qt_sdl')
-rw-r--r--src/frontend/qt_sdl/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp
index 658ae8b..b6282fe 100644
--- a/src/frontend/qt_sdl/main.cpp
+++ b/src/frontend/qt_sdl/main.cpp
@@ -1167,11 +1167,11 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
}
setMenuBar(menubar);
+ resize(Config::WindowWidth, Config::WindowHeight);
+
show();
createScreenPanel();
- resize(Config::WindowWidth, Config::WindowHeight);
-
for (int i = 0; i < 9; i++)
{
actSaveState[i]->setEnabled(false);