so you can't resize() before show()ing?? bullshit.

This commit is contained in:
Arisotura
2020-05-28 15:58:18 +02:00
parent 0804ab3c78
commit f7e53c6f71

View File

@ -1167,11 +1167,11 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
} }
setMenuBar(menubar); setMenuBar(menubar);
resize(Config::WindowWidth, Config::WindowHeight);
show(); show();
createScreenPanel(); createScreenPanel();
resize(Config::WindowWidth, Config::WindowHeight);
for (int i = 0; i < 9; i++) for (int i = 0; i < 9; i++)
{ {
actSaveState[i]->setEnabled(false); actSaveState[i]->setEnabled(false);