From 731118ffc52bab58c71ad6012554055a81bbc109 Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Sun, 19 May 2013 16:13:45 +0200 Subject: Fix halbackend mount point if media name contains UTF8 caracters (cherry picked from commit 4186c3efee28de609b9b234baa8a63cd4ad816ac) --- kioslave/media/mediamanager/halbackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ? */ } -- cgit v1.2.3