From 90ed3e409bd1ae6b93ad5e4722b556f3e647dff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 4 Feb 2016 20:59:36 +0100 Subject: [PATCH] Fix icon of mounted camera in tdehwlib MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit ef7180dad939e407f0efd9a02ffcac6ab249f866) --- tdecore/tdehw/tdestoragedevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {