From 337146de4452295d0f21974a19a54384f54d2e6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 16 Nov 2013 01:39:57 +0100 Subject: Fix tdehw storage backend media name with UTF8 characters --- tdecore/tdehw/tdehardwaredevices.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdecore/tdehw') 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")); -- cgit v1.2.1