diff options
author | Arisotura <thetotalworm@gmail.com> | 2020-05-28 15:58:18 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2020-05-28 15:58:18 +0200 |
commit | f7e53c6f71c3bf6f082d1e5857f474f79f992602 (patch) | |
tree | ba366468a1ad69ce8fce8255827517666db82250 /src/frontend/qt_sdl | |
parent | 0804ab3c783363e28229a2028dc70b4238cb1802 (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.cpp | 4 |
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); |