aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui')
-rw-r--r--qtmips_gui/aboutdialog.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/qtmips_gui/aboutdialog.cpp b/qtmips_gui/aboutdialog.cpp
index c14f0a8..161a322 100644
--- a/qtmips_gui/aboutdialog.cpp
+++ b/qtmips_gui/aboutdialog.cpp
@@ -51,8 +51,9 @@ AboutDialog::AboutDialog(QWidget *parent)
{
QLabel *lbl;
- setWindowModality(Qt::WindowModal);
setAttribute(Qt::WA_DeleteOnClose);
+ setAttribute(Qt::WA_ShowModal);
+ setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
setWindowTitle(tr("About Qt Mips"));
@@ -131,5 +132,7 @@ AboutDialog::AboutDialog(QWidget *parent)
hlBtn->addStretch();
hlBtn->addWidget(okButton);
+ setMinimumSize(450, 500);
+
prevTab = 0; // first Tab is selected by default
}