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();});