summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/tdestoragedevice.cpp
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:52 +0100
commit90ed3e409bd1ae6b93ad5e4722b556f3e647dff5 (patch)
tree28a10cd7689a970175573fdaad87ff7dd7a97771 /tdecore/tdehw/tdestoragedevice.cpp
parentc7ba84312e746621f3cbe0d6aadfb0fd8c6e6e76 (diff)
downloadtdelibs-90ed3e409bd1ae6b93ad5e4722b556f3e647dff5.tar.gz
tdelibs-90ed3e409bd1ae6b93ad5e4722b556f3e647dff5.zip
Fix icon of mounted camera in tdehwlib
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit ef7180dad939e407f0efd9a02ffcac6ab249f866)
Diffstat (limited to 'tdecore/tdehw/tdestoragedevice.cpp')
-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 d0f7549fa..b8b5c6d33 100644
--- a/tdecore/tdehw/tdestoragedevice.cpp
+++ b/tdecore/tdehw/tdestoragedevice.cpp
@@ -656,7 +656,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)) {