summaryrefslogtreecommitdiffstats
path: root/heimdall-frontend/Source/Alerts.cpp
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell@glassechidna.com.au>2011-07-19 20:18:18 +0200
committerBenjamin Dobell <benjamin.dobell@glassechidna.com.au>2011-07-19 20:18:18 +0200
commit3fe256448148044b7c4a6f70b7947ec51033cf86 (patch)
tree23b06e76f2d1257025218d62b0ec8f515c26b10d /heimdall-frontend/Source/Alerts.cpp
parentMerge branch 'master' of github.com:Benjamin-Dobell/Heimdall (diff)
downloadHeimdall-3fe256448148044b7c4a6f70b7947ec51033cf86.tar
Heimdall-3fe256448148044b7c4a6f70b7947ec51033cf86.tar.gz
Heimdall-3fe256448148044b7c4a6f70b7947ec51033cf86.tar.bz2
Heimdall-3fe256448148044b7c4a6f70b7947ec51033cf86.tar.lz
Heimdall-3fe256448148044b7c4a6f70b7947ec51033cf86.tar.xz
Heimdall-3fe256448148044b7c4a6f70b7947ec51033cf86.tar.zst
Heimdall-3fe256448148044b7c4a6f70b7947ec51033cf86.zip
Diffstat (limited to 'heimdall-frontend/Source/Alerts.cpp')
-rw-r--r--heimdall-frontend/Source/Alerts.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/heimdall-frontend/Source/Alerts.cpp b/heimdall-frontend/Source/Alerts.cpp
index e8e8752..5dc0337 100644
--- a/heimdall-frontend/Source/Alerts.cpp
+++ b/heimdall-frontend/Source/Alerts.cpp
@@ -29,6 +29,7 @@ using namespace HeimdallFrontend;
void Alerts::DisplayError(const QString& errorMessage)
{
QMessageBox messageBox;
+ messageBox.setModal(true);
messageBox.setText(errorMessage);
messageBox.setIcon(QMessageBox::Critical);
messageBox.exec();
@@ -37,6 +38,7 @@ void Alerts::DisplayError(const QString& errorMessage)
void Alerts::DisplayWarning(const QString& warningMessage)
{
QMessageBox messageBox;
+ messageBox.setModal(true);
messageBox.setText(warningMessage);
messageBox.setIcon(QMessageBox::Warning);
messageBox.exec();