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
1 changed files with 2 additions and 2 deletions

View File

@ -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);