summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/utils.cpp
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2010-01-24 21:12:11 +0000
committerDominik Wenger <domonoky@googlemail.com>2010-01-24 21:12:11 +0000
commit6128bd14e949eb2a255910838b2707fa204f640e (patch)
tree5f4846551383edcc2e019ea459c952d935d9430a /rbutil/rbutilqt/base/utils.cpp
parent7fe60537d41d65dce99e02f825191e1f04eebef1 (diff)
downloadrockbox-6128bd14e949eb2a255910838b2707fa204f640e.tar.gz
rockbox-6128bd14e949eb2a255910838b2707fa204f640e.tar.bz2
rockbox-6128bd14e949eb2a255910838b2707fa204f640e.zip
rbutil: split RbSettings. use Stable/unstable status from server.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24331 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/base/utils.cpp')
-rw-r--r--rbutil/rbutilqt/base/utils.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/utils.cpp b/rbutil/rbutilqt/base/utils.cpp
index 4bdc748553..4125c17205 100644
--- a/rbutil/rbutilqt/base/utils.cpp
+++ b/rbutil/rbutilqt/base/utils.cpp
@@ -20,6 +20,7 @@
#include "utils.h"
#include "system.h"
#include "rbsettings.h"
+#include "systeminfo.h"
#ifdef UNICODE
#define _UNICODE
@@ -187,11 +188,11 @@ QString check(bool permission)
// Check TargetId
RockboxInfo rbinfo(RbSettings::value(RbSettings::Mountpoint).toString());
QString installed = rbinfo.target();
- if(!installed.isEmpty() && installed != RbSettings::value(RbSettings::CurConfigureModel).toString())
+ if(!installed.isEmpty() && installed != SystemInfo::value(SystemInfo::CurConfigureModel).toString())
{
text += QObject::tr("<li>Target mismatch detected.\n"
"Installed target: %1, selected target: %2.</li>")
- .arg(installed, RbSettings::value(RbSettings::CurPlatformName).toString());
+ .arg(installed, SystemInfo::value(SystemInfo::CurPlatformName).toString());
// FIXME: replace installed by human-friendly name
}