diff options
author | Slávek Banko <[email protected]> | 2013-05-20 19:51:23 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-05-20 19:51:23 +0200 |
commit | 63989b0b224810fc7905faa37ef9a5309e050fea (patch) | |
tree | a3488d0bbca41df3df4d08dd0fe83453b3db7650 /tdeioslave/media/mediamanager | |
parent | 5c1cfcf1a1c3a434aeb07c7195345dc58df4f528 (diff) | |
download | tdebase-63989b0b224810fc7905faa37ef9a5309e050fea.tar.gz tdebase-63989b0b224810fc7905faa37ef9a5309e050fea.zip |
Fix halbackend media name with UTF8 caracters
Diffstat (limited to 'tdeioslave/media/mediamanager')
-rw-r--r-- | tdeioslave/media/mediamanager/halbackend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeioslave/media/mediamanager/halbackend.cpp b/tdeioslave/media/mediamanager/halbackend.cpp index 397c6b662..05cdae425 100644 --- a/tdeioslave/media/mediamanager/halbackend.cpp +++ b/tdeioslave/media/mediamanager/halbackend.cpp @@ -550,10 +550,10 @@ void HALBackend::setVolumeProperties(Medium* medium) */ if (media_name.find(TQRegExp("^[0-9]+\\.?[0-9]*[KMGT] (Removable )?Media$")) > -1) { TQString pattern = media_name.section(" ", 1); - media_name.replace(pattern, i18n(pattern.ascii())); + media_name.replace(pattern, i18n(pattern.utf8())); medium->setLabel(media_name); } else { - medium->setLabel(i18n(media_name.ascii())); + medium->setLabel(i18n(media_name.utf8())); } free(name); |