Disable dialog fullscreen
This commit is contained in:
@@ -100,7 +100,8 @@ MainWindow::MainWindow(QWidget* parent) :
|
||||
}
|
||||
msgDialog->showExitButton();
|
||||
msgDialog->stopLoading();
|
||||
msgDialog->showFullScreen();
|
||||
// msgDialog->showFullScreen();
|
||||
msgDialog->show();
|
||||
});
|
||||
connect(EventCenter::Default(), &EventCenter::InvokeOperationStart, [=](QObject*, QObject* msg) {
|
||||
if (!msgDialog) msgDialog = new GUIMessageDialog(this);
|
||||
@@ -114,7 +115,8 @@ MainWindow::MainWindow(QWidget* parent) :
|
||||
}
|
||||
msgDialog->hideExitButton();
|
||||
msgDialog->startLoading();
|
||||
msgDialog->showFullScreen();
|
||||
// msgDialog->showFullScreen();
|
||||
msgDialog->show();
|
||||
});
|
||||
connect(EventCenter::Default(), &EventCenter::InvokeOperationProgress, [=](QObject*, QObject* msg) {
|
||||
if (!msgDialog) msgDialog = new GUIMessageDialog(this);
|
||||
@@ -127,7 +129,8 @@ MainWindow::MainWindow(QWidget* parent) :
|
||||
msgDialog->hideMessage();
|
||||
}
|
||||
msgDialog->hideExitButton();
|
||||
msgDialog->showFullScreen();
|
||||
// msgDialog->showFullScreen();
|
||||
msgDialog->show();
|
||||
});
|
||||
connect(EventCenter::Default(), &EventCenter::InvokeOperationEnd, [=]() {
|
||||
if (!msgDialog) return;
|
||||
|
||||
Reference in New Issue
Block a user