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->showMessage("Something went error!");
|
||||||
msgDialog->showExitButton();
|
msgDialog->showExitButton();
|
||||||
msgDialog->stopLoading();
|
msgDialog->stopLoading();
|
||||||
msgDialog->show();
|
msgDialog->showFullScreen();
|
||||||
});
|
});
|
||||||
connect(EventCenter::Default(),&EventCenter::InvokeOperationStart,[=](QObject*,QObject* msg){
|
connect(EventCenter::Default(),&EventCenter::InvokeOperationStart,[=](QObject*,QObject* msg){
|
||||||
if (!msgDialog) msgDialog = new GUIMessageDialog(this);
|
if (!msgDialog) msgDialog = new GUIMessageDialog(this);
|
||||||
@@ -105,7 +105,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
}
|
}
|
||||||
msgDialog->hideExitButton();
|
msgDialog->hideExitButton();
|
||||||
msgDialog->startLoading();
|
msgDialog->startLoading();
|
||||||
msgDialog->show();
|
msgDialog->showFullScreen();
|
||||||
});
|
});
|
||||||
connect(EventCenter::Default(),&EventCenter::InvokeOperationProgress,[=](QObject*,QObject* msg){
|
connect(EventCenter::Default(),&EventCenter::InvokeOperationProgress,[=](QObject*,QObject* msg){
|
||||||
if (!msgDialog) msgDialog = new GUIMessageDialog(this);
|
if (!msgDialog) msgDialog = new GUIMessageDialog(this);
|
||||||
@@ -117,7 +117,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
msgDialog->hideMessage();
|
msgDialog->hideMessage();
|
||||||
}
|
}
|
||||||
msgDialog->hideExitButton();
|
msgDialog->hideExitButton();
|
||||||
msgDialog->show();
|
msgDialog->showFullScreen();
|
||||||
});
|
});
|
||||||
connect(EventCenter::Default(),&EventCenter::InvokeOperationEnd,[=](){
|
connect(EventCenter::Default(),&EventCenter::InvokeOperationEnd,[=](){
|
||||||
if (!msgDialog) return;
|
if (!msgDialog) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user