mainwindow maximise on start
This commit is contained in:
@@ -7,6 +7,7 @@ MainWindow::MainWindow(QWidget *parent)
|
|||||||
, playwindow(new playWindow)
|
, playwindow(new playWindow)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
this->setWindowState(Qt::WindowMaximized);
|
||||||
connect(ui->playButton, &QPushButton::clicked, this, [=]{
|
connect(ui->playButton, &QPushButton::clicked, this, [=]{
|
||||||
playwindow->show();
|
playwindow->show();
|
||||||
this->hide();});
|
this->hide();});
|
||||||
|
|||||||
Reference in New Issue
Block a user