mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-14 10:24:19 +01:00
Disable detection of iPhone 4 and iPad until libgpod supports them.
Updates issue #742 I've blacklisted the iPhone 4 and iPad for now.
This commit is contained in:
parent
2c81cdefc7
commit
b61a05889a
@ -35,6 +35,12 @@ void iLister::DeviceAddedCallback(const char* uuid) {
|
||||
DeviceInfo info = ReadDeviceInfo(uuid);
|
||||
QString id = UniqueId(uuid);
|
||||
|
||||
QString name = MakeFriendlyName(id);
|
||||
if (info.product_type == "iPhone 3,1" || info.product_type.startsWith("iPad")) {
|
||||
// iPhone 4 and iPad unsupported by libgpod as of 0.7.94.
|
||||
return;
|
||||
}
|
||||
|
||||
{
|
||||
QMutexLocker l(&mutex_);
|
||||
devices_[id] = info;
|
||||
|
Loading…
Reference in New Issue
Block a user