15 lines
852 B
Diff
15 lines
852 B
Diff
|
diff -up kdelibs-4.10.0/solid/solid/backends/udisks2/udisksmanager.cpp.udisks2_2_stage kdelibs-4.10.0/solid/solid/backends/udisks2/udisksmanager.cpp
|
||
|
--- kdelibs-4.10.0/solid/solid/backends/udisks2/udisksmanager.cpp.udisks2_2_stage 2013-01-23 15:44:27.000000000 -0600
|
||
|
+++ kdelibs-4.10.0/solid/solid/backends/udisks2/udisksmanager.cpp 2013-02-01 09:43:49.032367743 -0600
|
||
|
@@ -203,6 +203,10 @@ void Manager::slotInterfacesAdded(const
|
||
|
m_deviceCache.append(udi);
|
||
|
Q_EMIT deviceAdded(udi);
|
||
|
}
|
||
|
+ // re-emit in case of 2-stage devices like N9 or some Android phones
|
||
|
+ else if (m_deviceCache.contains(udi) && interfaces_and_properties.keys().contains(UD2_DBUS_INTERFACE_FILESYSTEM)) {
|
||
|
+ Q_EMIT deviceAdded(udi);
|
||
|
+ }
|
||
|
}
|
||
|
|
||
|
void Manager::slotInterfacesRemoved(const QDBusObjectPath &object_path, const QStringList &interfaces)
|