summaryrefslogtreecommitdiffstats
path: root/kioslave/media/mediamanager
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/media/mediamanager')
-rw-r--r--kioslave/media/mediamanager/tdehardwarebackend.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/kioslave/media/mediamanager/tdehardwarebackend.cpp b/kioslave/media/mediamanager/tdehardwarebackend.cpp
index f318c5786..15e27a43a 100644
--- a/kioslave/media/mediamanager/tdehardwarebackend.cpp
+++ b/kioslave/media/mediamanager/tdehardwarebackend.cpp
@@ -496,7 +496,9 @@ void TDEBackend::setVolumeProperties(Medium* medium)
}
if (sdevice->isDiskOfType(TDEDiskDeviceType::CDAudio)) {
- mimeType = "media/audiocd" + MOUNT_SUFFIX;
+ mimeType = "media/audiocd";
+ medium->unmountableState("audiocd:/?device=" + sdevice->deviceNode());
+ diskLabel = i18n("Audio CD");
}
if (sdevice->isDiskOfType(TDEDiskDeviceType::CDVideo)) {