mirror of
https://abf.rosa.ru/djam/kdebase4-workspace.git
synced 2025-02-24 10:12:50 +00:00
23 lines
1.4 KiB
Diff
23 lines
1.4 KiB
Diff
diff -Nur kde-workspace-4.8.2.old/plasma/generic/dataengines/soliddevice/soliddeviceengine.cpp kde-workspace-4.8.2/plasma/generic/dataengines/soliddevice/soliddeviceengine.cpp
|
|
--- kde-workspace-4.8.2.old/plasma/generic/dataengines/soliddevice/soliddeviceengine.cpp 2012-03-30 02:02:32.000000000 +0400
|
|
+++ kde-workspace-4.8.2/plasma/generic/dataengines/soliddevice/soliddeviceengine.cpp 2012-04-28 18:33:36.345074131 +0400
|
|
@@ -353,6 +353,9 @@
|
|
|
|
setData(name, I18N_NOOP("Supported Protocols"), camera->supportedProtocols());
|
|
setData(name, I18N_NOOP("Supported Drivers"), camera->supportedDrivers());
|
|
+ // Cameras are necessarily Removable and Hotpluggable
|
|
+ setData(name, I18N_NOOP("Removable"), true);
|
|
+ setData(name, I18N_NOOP("Hotpluggable"), true);
|
|
}
|
|
if (device.is<Solid::PortableMediaPlayer>()) {
|
|
Solid::PortableMediaPlayer *mediaplayer = device.as<Solid::PortableMediaPlayer>();
|
|
@@ -364,6 +367,9 @@
|
|
|
|
setData(name, I18N_NOOP("Supported Protocols"), mediaplayer->supportedProtocols());
|
|
setData(name, I18N_NOOP("Supported Drivers"), mediaplayer->supportedDrivers());
|
|
+ // Portable Media Players are necessarily Removable and Hotpluggable
|
|
+ setData(name, I18N_NOOP("Removable"), true);
|
|
+ setData(name, I18N_NOOP("Hotpluggable"), true);
|
|
}
|
|
if (device.is<Solid::NetworkInterface>()) {
|
|
Solid::NetworkInterface *networkinterface = device.as<Solid::NetworkInterface>();
|