summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/tdehardwaredevices.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-11-16 01:39:57 +0100
committerSlávek Banko <slavek.banko@axis.cz>2013-11-16 01:39:57 +0100
commit337146de4452295d0f21974a19a54384f54d2e6c (patch)
tree6a2780dd5d278357f475a426a1f7453dd54a6183 /tdecore/tdehw/tdehardwaredevices.cpp
parenta53b18585583de98a3fe3adf655b242c76ea9fab (diff)
downloadtdelibs-337146de4452295d0f21974a19a54384f54d2e6c.tar.gz
tdelibs-337146de4452295d0f21974a19a54384f54d2e6c.zip
Fix tdehw storage backend media name with UTF8 characters
Diffstat (limited to 'tdecore/tdehw/tdehardwaredevices.cpp')
-rw-r--r--tdecore/tdehw/tdehardwaredevices.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp
index 10fa1d736..7be686722 100644
--- a/tdecore/tdehw/tdehardwaredevices.cpp
+++ b/tdecore/tdehw/tdehardwaredevices.cpp
@@ -2269,7 +2269,7 @@ void TDEHardwareDevices::updateExistingDeviceInformation(TDEGenericDevice* exist
TQString devicebus(udev_device_get_property_value(dev, "ID_BUS"));
// Get disk specific info
- TQString disklabel(udev_device_get_property_value(dev, "ID_FS_LABEL"));
+ TQString disklabel(TQString::fromLocal8Bit(udev_device_get_property_value(dev, "ID_FS_LABEL")));
TQString diskuuid(udev_device_get_property_value(dev, "ID_FS_UUID"));
TQString filesystemtype(udev_device_get_property_value(dev, "ID_FS_TYPE"));
TQString filesystemusage(udev_device_get_property_value(dev, "ID_FS_USAGE"));