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:
Dominik Riebeling 2009-08-15 21:29:31 +00:00
parent 9cdfbfede4
commit 76100783af
3 changed files with 81 additions and 11 deletions

View file

@ -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;
}