diff options
-rw-r--r-- | rbutil/rbutilqt/configure.cpp | 2 | ||||
-rw-r--r-- | rbutil/rbutilqt/progressloggergui.cpp | 1 | ||||
-rw-r--r-- | rbutil/rbutilqt/progressloggergui.h | 2 | ||||
-rw-r--r-- | rbutil/rbutilqt/rbutilqt.cpp | 5 |
4 files changed, 7 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp index 63a78a795b..a0a582ce09 100644 --- a/rbutil/rbutilqt/configure.cpp +++ b/rbutil/rbutilqt/configure.cpp | |||
@@ -53,6 +53,8 @@ Config::Config(QWidget *parent) : QDialog(parent) | |||
53 | ui.listLanguages->setSelectionMode(QAbstractItemView::SingleSelection); | 53 | ui.listLanguages->setSelectionMode(QAbstractItemView::SingleSelection); |
54 | connect(ui.listLanguages, SIGNAL(itemSelectionChanged()), this, SLOT(updateLanguage())); | 54 | connect(ui.listLanguages, SIGNAL(itemSelectionChanged()), this, SLOT(updateLanguage())); |
55 | 55 | ||
56 | this->setModal(true); | ||
57 | |||
56 | connect(ui.buttonOk, SIGNAL(clicked()), this, SLOT(accept())); | 58 | connect(ui.buttonOk, SIGNAL(clicked()), this, SLOT(accept())); |
57 | connect(ui.buttonCancel, SIGNAL(clicked()), this, SLOT(abort())); | 59 | connect(ui.buttonCancel, SIGNAL(clicked()), this, SLOT(abort())); |
58 | connect(ui.radioNoProxy, SIGNAL(toggled(bool)), this, SLOT(setNoProxy(bool))); | 60 | connect(ui.radioNoProxy, SIGNAL(toggled(bool)), this, SLOT(setNoProxy(bool))); |
diff --git a/rbutil/rbutilqt/progressloggergui.cpp b/rbutil/rbutilqt/progressloggergui.cpp index 4397d3c2f5..f348d5b96d 100644 --- a/rbutil/rbutilqt/progressloggergui.cpp +++ b/rbutil/rbutilqt/progressloggergui.cpp | |||
@@ -22,6 +22,7 @@ | |||
22 | ProgressLoggerGui::ProgressLoggerGui(QObject* parent): ProgressloggerInterface(parent) | 22 | ProgressLoggerGui::ProgressLoggerGui(QObject* parent): ProgressloggerInterface(parent) |
23 | { | 23 | { |
24 | downloadProgress = new QDialog(); | 24 | downloadProgress = new QDialog(); |
25 | downloadProgress->setModal(true); | ||
25 | dp.setupUi(downloadProgress); | 26 | dp.setupUi(downloadProgress); |
26 | connect(dp.buttonAbort, SIGNAL(clicked()), this, SLOT(abort())); | 27 | connect(dp.buttonAbort, SIGNAL(clicked()), this, SLOT(abort())); |
27 | } | 28 | } |
diff --git a/rbutil/rbutilqt/progressloggergui.h b/rbutil/rbutilqt/progressloggergui.h index e0f2d9130a..2290fcb080 100644 --- a/rbutil/rbutilqt/progressloggergui.h +++ b/rbutil/rbutilqt/progressloggergui.h | |||
@@ -24,7 +24,7 @@ | |||
24 | #include "progressloggerinterface.h" | 24 | #include "progressloggerinterface.h" |
25 | #include "ui_installprogressfrm.h" | 25 | #include "ui_installprogressfrm.h" |
26 | 26 | ||
27 | class ProgressLoggerGui :public ProgressloggerInterface | 27 | class ProgressLoggerGui :public ProgressloggerInterface |
28 | { | 28 | { |
29 | Q_OBJECT | 29 | Q_OBJECT |
30 | public: | 30 | public: |
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) | |||
138 | 138 | ||
139 | void RbUtilQt::about() | 139 | void RbUtilQt::about() |
140 | { | 140 | { |
141 | QDialog *window = new QDialog; | 141 | QDialog *window = new QDialog(this); |
142 | Ui::aboutBox about; | 142 | Ui::aboutBox about; |
143 | about.setupUi(window); | 143 | about.setupUi(window); |
144 | 144 | window->setModal(true); | |
145 | |||
145 | QFile licence(":/docs/gpl-2.0.html"); | 146 | QFile licence(":/docs/gpl-2.0.html"); |
146 | licence.open(QIODevice::ReadOnly); | 147 | licence.open(QIODevice::ReadOnly); |
147 | QTextStream c(&licence); | 148 | QTextStream c(&licence); |