summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/mediamanager
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:13:45 +0200
commit4186c3efee28de609b9b234baa8a63cd4ad816ac (patch)
tree57f1492726d0bdcae793c302f4868cc0106d9382 /tdeioslave/media/mediamanager
parent9a491179e30feb8beb9ceca8b1fde985d42465e7 (diff)
downloadtdebase-4186c3efee28de609b9b234baa8a63cd4ad816ac.tar.gz
tdebase-4186c3efee28de609b9b234baa8a63cd4ad816ac.zip
Fix halbackend mount point if media name contains UTF8 caracters
Diffstat (limited to 'tdeioslave/media/mediamanager')
-rw-r--r--tdeioslave/media/mediamanager/halbackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeioslave/media/mediamanager/halbackend.cpp b/tdeioslave/media/mediamanager/halbackend.cpp
index 9dbe18d8e..aef7f96db 100644
--- a/tdeioslave/media/mediamanager/halbackend.cpp
+++ b/tdeioslave/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 ? */
}