summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/autodetection.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/autodetection.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/autodetection.cpp')
-rw-r--r--rbutil/rbutilqt/base/autodetection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/autodetection.cpp b/rbutil/rbutilqt/base/autodetection.cpp
index 7c69b3a59b..8c800607c3 100644
--- a/rbutil/rbutilqt/base/autodetection.cpp
+++ b/rbutil/rbutilqt/base/autodetection.cpp
@@ -108,7 +108,7 @@ void Autodetection::detectUsb()
LOG_WARNING() << "[USB] detected problem with player" << d.device;
}
QString idstring = QString("%1").arg(attached.at(i), 8, 16, QChar('0'));
- if(!SystemInfo::platformValue(SystemInfo::CurName, idstring).toString().isEmpty()) {
+ if(!SystemInfo::platformValue(SystemInfo::Name, idstring).toString().isEmpty()) {
struct Detected d;
d.status = PlayerIncompatible;
d.device = idstring;