Fix icon of mounted camera in tdehwlib

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 9 years ago
parent 5104679806
commit ef7180dad9

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

Loading…
Cancel
Save