summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-02-04 20:59:36 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-02-04 20:59:36 +0100
commitef7180dad939e407f0efd9a02ffcac6ab249f866 (patch)
tree20af719acd392af2cf5c4ad1a9ae7f5e6611e655 /tdecore/tdehw
parent51046798068760d062a1924fff4a99c7b8a60b71 (diff)
downloadtdelibs-ef7180dad939e407f0efd9a02ffcac6ab249f866.tar.gz
tdelibs-ef7180dad939e407f0efd9a02ffcac6ab249f866.zip
Fix icon of mounted camera in tdehwlib
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdecore/tdehw')
-rw-r--r--tdecore/tdehw/tdestoragedevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecore/tdehw/tdestoragedevice.cpp b/tdecore/tdehw/tdestoragedevice.cpp
index 1f3e046be..58c97e5c6 100644
--- a/tdecore/tdehw/tdestoragedevice.cpp
+++ b/tdecore/tdehw/tdestoragedevice.cpp
@@ -893,7 +893,7 @@ TQPixmap TDEStorageDevice::icon(TDEIcon::StdSizes size) {
ret = DesktopIcon("media-tape" + mountString, size);
}
if (isDiskOfType(TDEDiskDeviceType::Camera)) {
- ret = DesktopIcon("camera_unmount" + mountString, size);
+ ret = DesktopIcon("camera" + TQString((mountPath() != TQString::null) ? "_mount" : "_umount"), size);
}
if (isDiskOfType(TDEDiskDeviceType::HDD)) {