aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/aboutdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/aboutdialog.cpp')
-rw-r--r--qtmips_gui/aboutdialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qtmips_gui/aboutdialog.cpp b/qtmips_gui/aboutdialog.cpp
index 71f7b8f..c14f0a8 100644
--- a/qtmips_gui/aboutdialog.cpp
+++ b/qtmips_gui/aboutdialog.cpp
@@ -51,6 +51,9 @@ AboutDialog::AboutDialog(QWidget *parent)
{
QLabel *lbl;
+ setWindowModality(Qt::WindowModal);
+ setAttribute(Qt::WA_DeleteOnClose);
+
setWindowTitle(tr("About Qt Mips"));
all = new QVBoxLayout(this);