Fix icon of mounted camera in tdehwlib

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ef7180dad9)
pull/16/head
Slávek Banko 9 years ago
parent c7ba84312e
commit 90ed3e409b

@ -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)) {

Loading…
Cancel
Save