Fix message dialog show not full screen bug.
This commit is contained in:
@@ -92,7 +92,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
msgDialog->showMessage("Something went error!");
|
||||
msgDialog->showExitButton();
|
||||
msgDialog->stopLoading();
|
||||
msgDialog->show();
|
||||
msgDialog->showFullScreen();
|
||||
});
|
||||
connect(EventCenter::Default(),&EventCenter::InvokeOperationStart,[=](QObject*,QObject* msg){
|
||||
if (!msgDialog) msgDialog = new GUIMessageDialog(this);
|
||||
@@ -105,7 +105,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
}
|
||||
msgDialog->hideExitButton();
|
||||
msgDialog->startLoading();
|
||||
msgDialog->show();
|
||||
msgDialog->showFullScreen();
|
||||
});
|
||||
connect(EventCenter::Default(),&EventCenter::InvokeOperationProgress,[=](QObject*,QObject* msg){
|
||||
if (!msgDialog) msgDialog = new GUIMessageDialog(this);
|
||||
@@ -117,7 +117,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
msgDialog->hideMessage();
|
||||
}
|
||||
msgDialog->hideExitButton();
|
||||
msgDialog->show();
|
||||
msgDialog->showFullScreen();
|
||||
});
|
||||
connect(EventCenter::Default(),&EventCenter::InvokeOperationEnd,[=](){
|
||||
if (!msgDialog) return;
|
||||
|
||||
Reference in New Issue
Block a user