diff options
Diffstat (limited to 'utils/themeeditor/gui/preferencesdialog.cpp')
-rw-r--r-- | utils/themeeditor/gui/preferencesdialog.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/themeeditor/gui/preferencesdialog.cpp b/utils/themeeditor/gui/preferencesdialog.cpp index d28b21345d..34ee8c9b22 100644 --- a/utils/themeeditor/gui/preferencesdialog.cpp +++ b/utils/themeeditor/gui/preferencesdialog.cpp | |||
@@ -22,6 +22,7 @@ | |||
22 | #include "preferencesdialog.h" | 22 | #include "preferencesdialog.h" |
23 | #include "ui_preferencesdialog.h" | 23 | #include "ui_preferencesdialog.h" |
24 | #include "fontdownloader.h" | 24 | #include "fontdownloader.h" |
25 | #include "targetdownloader.h" | ||
25 | 26 | ||
26 | #include <QSettings> | 27 | #include <QSettings> |
27 | #include <QColorDialog> | 28 | #include <QColorDialog> |
@@ -223,6 +224,8 @@ void PreferencesDialog::setupUI() | |||
223 | this, SLOT(browseDB())); | 224 | this, SLOT(browseDB())); |
224 | QObject::connect(ui->dlFontsButton, SIGNAL(clicked()), | 225 | QObject::connect(ui->dlFontsButton, SIGNAL(clicked()), |
225 | this, SLOT(dlFonts())); | 226 | this, SLOT(dlFonts())); |
227 | QObject::connect(ui->dlTargetButton, SIGNAL(clicked()), | ||
228 | this, SLOT(dlTargetDB())); | ||
226 | } | 229 | } |
227 | 230 | ||
228 | void PreferencesDialog::colorClicked() | 231 | void PreferencesDialog::colorClicked() |
@@ -278,6 +281,12 @@ void PreferencesDialog::dlFonts() | |||
278 | dl->show(); | 281 | dl->show(); |
279 | } | 282 | } |
280 | 283 | ||
284 | void PreferencesDialog::dlTargetDB() | ||
285 | { | ||
286 | TargetDownloader* dl = new TargetDownloader(this, ui->dbBox->text()); | ||
287 | dl->show(); | ||
288 | } | ||
289 | |||
281 | void PreferencesDialog::accept() | 290 | void PreferencesDialog::accept() |
282 | { | 291 | { |
283 | saveSettings(); | 292 | saveSettings(); |