summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbsettings.cpp
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2008-02-13 18:25:01 +0000
committerDominik Wenger <domonoky@googlemail.com>2008-02-13 18:25:01 +0000
commitb30181a14bd18743af122442f50a031bdec2b829 (patch)
tree7ff1d84c1b3b5706637ba20fc40287822318e6b5 /rbutil/rbutilqt/rbsettings.cpp
parent8f0c7908b01f67cf96058387d5f5b6e73268361b (diff)
downloadrockbox-b30181a14bd18743af122442f50a031bdec2b829.tar.gz
rockbox-b30181a14bd18743af122442f50a031bdec2b829.tar.bz2
rockbox-b30181a14bd18743af122442f50a031bdec2b829.zip
rbutil: fix bug with wrong downloadURL for h10.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16306 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/rbsettings.cpp')
-rw-r--r--rbutil/rbutilqt/rbsettings.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/rbsettings.cpp b/rbutil/rbutilqt/rbsettings.cpp
index 2aa43f7f84..8b2569c365 100644
--- a/rbutil/rbutilqt/rbsettings.cpp
+++ b/rbutil/rbutilqt/rbsettings.cpp
@@ -190,6 +190,15 @@ QString RbSettings::curPlatform()
return userSettings->value("platform").toString();
}
+QString RbSettings::curPlatformName()
+{
+ QString platform = userSettings->value("platform").toString();
+ devices->beginGroup(platform);
+ QString name = devices->value("platform").toString();
+ devices->endGroup();
+ return name;
+}
+
QString RbSettings::curManual()
{
QString platform = userSettings->value("platform").toString();