From 937dde061a74cde410f67898274dde8d16d2b654 Mon Sep 17 00:00:00 2001 From: Sani7 Date: Sun, 14 Apr 2024 22:15:45 +0200 Subject: [PATCH] mainwindow maximise on start --- mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 36f2524..ac63de1 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -7,6 +7,7 @@ MainWindow::MainWindow(QWidget *parent) , playwindow(new playWindow) { ui->setupUi(this); + this->setWindowState(Qt::WindowMaximized); connect(ui->playButton, &QPushButton::clicked, this, [=]{ playwindow->show(); this->hide();});