summaryrefslogtreecommitdiffstats
path: root/kioslave/media/mediamanager/halbackend.cpp
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2013-05-19 16:13:45 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-05-19 16:58:19 +0200
commit731118ffc52bab58c71ad6012554055a81bbc109 (patch)
treecfefcbba7400e1a4e65503549c20973e9ce2e7b3 /kioslave/media/mediamanager/halbackend.cpp
parent940b88652a39b775c94749fcbe7b3a0069b122f0 (diff)
downloadtdebase-731118ffc52bab58c71ad6012554055a81bbc109.tar.gz
tdebase-731118ffc52bab58c71ad6012554055a81bbc109.zip
Fix halbackend mount point if media name contains UTF8 caracters
(cherry picked from commit 4186c3efee28de609b9b234baa8a63cd4ad816ac)
Diffstat (limited to 'kioslave/media/mediamanager/halbackend.cpp')
-rw-r--r--kioslave/media/mediamanager/halbackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kioslave/media/mediamanager/halbackend.cpp b/kioslave/media/mediamanager/halbackend.cpp
index 44a5d6113..46fd815c5 100644
--- a/kioslave/media/mediamanager/halbackend.cpp
+++ b/kioslave/media/mediamanager/halbackend.cpp
@@ -536,7 +536,7 @@ void HALBackend::setVolumeProperties(Medium* medium)
kdDebug(1219) << "HALBackend::setVolumeProperties : normal volume" << endl;
medium->mountableState(
libhal_volume_get_device_file(halVolume), /* Device node */
- libhal_volume_get_mount_point(halVolume), /* Mount point */
+ TQString::fromUtf8(libhal_volume_get_mount_point(halVolume)), /* Mount point */
libhal_volume_get_fstype(halVolume), /* Filesystem type */
libhal_volume_is_mounted(halVolume) ); /* Mounted ? */
}