diff options
author | Dominik Wenger <domonoky@googlemail.com> | 2007-07-30 19:35:48 +0000 |
---|---|---|
committer | Dominik Wenger <domonoky@googlemail.com> | 2007-07-30 19:35:48 +0000 |
commit | f358d4ad94fc770e072d5cfdf6f3eb7982383ca8 (patch) | |
tree | 0d594d1179e23005f14ca97835fbcea11fd00d98 /rbutil/rbutilqt/rbutilqt.cpp | |
parent | 2e2f92c9066734040525347c8cb6d87f91e55c2c (diff) |
rbutilQt: fix Dialogs, so they are modal.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14080 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.cpp')
-rw-r--r-- | rbutil/rbutilqt/rbutilqt.cpp | 5 |
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); |