No need to call screen->show() twice

This commit is contained in:
wheremyfoodat
2024-12-29 00:30:31 +02:00
committed by GitHub
parent 5f48028284
commit 8604a98edf

View File

@@ -28,9 +28,7 @@ MainWindow::MainWindow(QApplication* app, QWidget* parent) : QMainWindow(parent)
screen = new ScreenWidget([this](u32 width, u32 height) { handleScreenResize(width, height); }, this);
setCentralWidget(screen);
screen->show();
appRunning = true;
// Set our menu bar up
menuBar = new QMenuBar(nullptr);