mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Improve notification about unsupported players.
- Display the name of a detected unsupported player when running autodetection from the configuration window. - Extend the list of known-unsupported players. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22334 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9cdfbfede4
commit
76100783af
3 changed files with 81 additions and 11 deletions
|
|
@ -418,8 +418,9 @@ bool Autodetection::detectUsb()
|
|||
qDebug() << "[USB] detected problem with player" << m_errdev;
|
||||
return true;
|
||||
}
|
||||
if(usbincompat.contains(attached.at(i))) {
|
||||
m_incompat = usbincompat.value(attached.at(i));
|
||||
QString idstring = QString("%1").arg(attached.at(i), 8, 16, QChar('0'));
|
||||
if(!RbSettings::platformValue(idstring, RbSettings::CurName).toString().isEmpty()) {
|
||||
m_incompat = idstring;
|
||||
qDebug() << "[USB] detected incompatible player" << m_incompat;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue