summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/utils.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-14 16:33:48 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-14 16:42:29 +0100
commitbe1be797b24acb5d78ad55502dd9bd7306482c0d (patch)
tree89b53978c457d63591a1d9238ed859b93c0cc10f /rbutil/rbutilqt/base/utils.cpp
parent2509def164ee7f4aecbe6a786df57140f19e35f2 (diff)
downloadrockbox-be1be797b24acb5d78ad55502dd9bd7306482c0d.tar.gz
rockbox-be1be797b24acb5d78ad55502dd9bd7306482c0d.tar.bz2
rockbox-be1be797b24acb5d78ad55502dd9bd7306482c0d.zip
rbutil: Rework player configuration.
Rename config entries and remove now unnecessary default value handling. Change-Id: I5c60ef9769fc01f45f45290dafffb80c1962e674
Diffstat (limited to 'rbutil/rbutilqt/base/utils.cpp')
-rw-r--r--rbutil/rbutilqt/base/utils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/base/utils.cpp b/rbutil/rbutilqt/base/utils.cpp
index a3a3e98fcc..60b55068e1 100644
--- a/rbutil/rbutilqt/base/utils.cpp
+++ b/rbutil/rbutilqt/base/utils.cpp
@@ -381,12 +381,12 @@ QString Utils::checkEnvironment(bool permission)
RockboxInfo rbinfo(RbSettings::value(RbSettings::Mountpoint).toString());
QString installed = rbinfo.target();
if(!installed.isEmpty() && installed !=
- SystemInfo::platformValue(SystemInfo::CurConfigureModel).toString())
+ SystemInfo::platformValue(SystemInfo::ConfigureModel).toString())
{
text += tr("<li>Target mismatch detected.<br/>"
"Installed target: %1<br/>Selected target: %2.</li>")
- .arg(SystemInfo::platformValue(SystemInfo::CurPlatformName, installed).toString(),
- SystemInfo::platformValue(SystemInfo::CurPlatformName).toString());
+ .arg(SystemInfo::platformValue(SystemInfo::PlatformName, installed).toString(),
+ SystemInfo::platformValue(SystemInfo::PlatformName).toString());
}
if(!text.isEmpty())