diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-05-20 19:51:23 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-05-20 19:53:01 +0200 |
commit | 3ea00c62c69986b6686995e327968c86b41a66a4 (patch) | |
tree | 47b163d080dd65938679d105ab80632317c53bb5 /kioslave | |
parent | aedee5a08e3b67317594a863354a8aa258211081 (diff) | |
download | tdebase-3ea00c62c69986b6686995e327968c86b41a66a4.tar.gz tdebase-3ea00c62c69986b6686995e327968c86b41a66a4.zip |
Fix halbackend media name with UTF8 caracters
(cherry picked from commit 63989b0b224810fc7905faa37ef9a5309e050fea)
Diffstat (limited to 'kioslave')
-rw-r--r-- | kioslave/media/mediamanager/halbackend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kioslave/media/mediamanager/halbackend.cpp b/kioslave/media/mediamanager/halbackend.cpp index a22ce4078..d5ec1f739 100644 --- a/kioslave/media/mediamanager/halbackend.cpp +++ b/kioslave/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); |