Git commit c03a496e785ebf1ae6fc0887a8b34167dea692db by Lukas Tinkl. Committed on 17/07/2012 at 20:26. Pushed by lukas into branch 'KDE/4.8'. don't skip AudioCDs (whose usage is undefined) fixes Device Notifier missing Audio CDs M +3 -2 plasma/generic/dataengines/hotplug/hotplugengine.cpp http://commits.kde.org/kde-workspace/c03a496e785ebf1ae6fc0887a8b34167dea692= db diff --git a/plasma/generic/dataengines/hotplug/hotplugengine.cpp b/plasma/= generic/dataengines/hotplug/hotplugengine.cpp index dcdde12..d909fa4 100644 --- a/plasma/generic/dataengines/hotplug/hotplugengine.cpp +++ b/plasma/generic/dataengines/hotplug/hotplugengine.cpp @@ -37,6 +37,7 @@ #include #include #include +#include = //#define HOTPLUGENGINE_TIMING = @@ -191,8 +192,8 @@ void HotplugEngine::onDeviceAdded(Solid::Device &device= , bool added) Solid::DeviceInterface *dev =3D device.asDeviceInterface(Solid::De= viceInterface::StorageVolume); Solid::StorageVolume *volume =3D static_cast(dev); Solid::StorageVolume::UsageType type =3D volume->usage(); - if (type =3D=3D Solid::StorageVolume::Unused || - type =3D=3D Solid::StorageVolume::PartitionTable) { + if ((type =3D=3D Solid::StorageVolume::Unused || + type =3D=3D Solid::StorageVolume::PartitionTable) && !device.= is()) { #ifdef HOTPLUGENGINE_TIMING kDebug() << "storage volume, but not of interest" << t.restart= (); #endif