From d44b1919b0c562b206dc55e0bb0d783eb30b38ea Mon Sep 17 00:00:00 2001 From: Krad Date: Thu, 14 Oct 2021 17:05:52 +0800 Subject: [PATCH] Remove auto showFullScreen logic from main window. --- src/mainwindow.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 8b8d73a..38dfb84 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -87,7 +87,6 @@ MainWindow::MainWindow(QWidget *parent) : layout->addWidget(tab); ui->centralWidget->setLayout(layout); this->setWindowFlags (Qt::Window); - this->showFullScreen (); connect(EventCenter::Default(),&EventCenter::GUIErrorRaise,[=](){ if (!msgDialog) msgDialog = new GUIMessageDialog(this); msgDialog->showMessage("Something went error!");