summaryrefslogtreecommitdiff
path: root/utils/themeeditor/gui/preferencesdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/gui/preferencesdialog.cpp')
-rw-r--r--utils/themeeditor/gui/preferencesdialog.cpp9
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 @@
#include "preferencesdialog.h"
#include "ui_preferencesdialog.h"
#include "fontdownloader.h"
+#include "targetdownloader.h"
#include <QSettings>
#include <QColorDialog>
@@ -223,6 +224,8 @@ void PreferencesDialog::setupUI()
this, SLOT(browseDB()));
QObject::connect(ui->dlFontsButton, SIGNAL(clicked()),
this, SLOT(dlFonts()));
+ QObject::connect(ui->dlTargetButton, SIGNAL(clicked()),
+ this, SLOT(dlTargetDB()));
}
void PreferencesDialog::colorClicked()
@@ -278,6 +281,12 @@ void PreferencesDialog::dlFonts()
dl->show();
}
+void PreferencesDialog::dlTargetDB()
+{
+ TargetDownloader* dl = new TargetDownloader(this, ui->dbBox->text());
+ dl->show();
+}
+
void PreferencesDialog::accept()
{
saveSettings();