summaryrefslogtreecommitdiff
path: root/utils/themeeditor/gui/preferencesdialog.cpp
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-07-25 21:59:35 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-07-25 21:59:35 +0000
commitd92f8174a1f838684645267e87b3afebfc48143f (patch)
treefe705adf4815eb38f7646ea7a0cb0a0841c74b43 /utils/themeeditor/gui/preferencesdialog.cpp
parente1e51f99949f2a2967210342fcea6e8ae8495e0b (diff)
downloadrockbox-d92f8174a1f838684645267e87b3afebfc48143f.zip
rockbox-d92f8174a1f838684645267e87b3afebfc48143f.tar.gz
rockbox-d92f8174a1f838684645267e87b3afebfc48143f.tar.bz2
rockbox-d92f8174a1f838684645267e87b3afebfc48143f.tar.xz
Theme Editor: Added targetdb download to preferences dialog, fixed Cancel button on FontDownloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27565 a1c6a512-1295-4272-9138-f99709370657
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 d28b213..34ee8c9 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();