summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/rbutilqt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.cpp')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index dda324febb..14f34824f7 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -138,10 +138,11 @@ void RbUtilQt::downloadDone(int id, bool error)
void RbUtilQt::about()
{
- QDialog *window = new QDialog;
+ QDialog *window = new QDialog(this);
Ui::aboutBox about;
about.setupUi(window);
-
+ window->setModal(true);
+
QFile licence(":/docs/gpl-2.0.html");
licence.open(QIODevice::ReadOnly);
QTextStream c(&licence);