diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-08-17 19:23:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-10-17 10:48:28 +0800 |
commit | 6c48adfd2e2296a084567252592c8b73b22b69f7 (patch) | |
tree | 8d4eeda6089c337917b3e29c3fac65a1240d1912 /kcontrol/hwmanager/devicepropsdlg.cpp | |
parent | e74e9afe2c46389b709411f7c2f6012bdfb3a0e8 (diff) | |
download | tdebase-6c48adfd2e2296a084567252592c8b73b22b69f7.tar.gz tdebase-6c48adfd2e2296a084567252592c8b73b22b69f7.zip |
kcontrol hw manager: added mapped name information to storage device property dialog.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kcontrol/hwmanager/devicepropsdlg.cpp')
-rw-r--r-- | kcontrol/hwmanager/devicepropsdlg.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kcontrol/hwmanager/devicepropsdlg.cpp b/kcontrol/hwmanager/devicepropsdlg.cpp index 18ac13f7a..05b5832fa 100644 --- a/kcontrol/hwmanager/devicepropsdlg.cpp +++ b/kcontrol/hwmanager/devicepropsdlg.cpp @@ -416,6 +416,10 @@ void DevicePropertiesDialog::populateDeviceInformation() { if (volUUID == "") volUUID = i18n("<none>"); base->labelDiskUUID->setText(formatDisplayString(volUUID)); + TQString mappedName = sdevice->mappedName(); + if (mappedName == "") mappedName = i18n("<none>"); + base->labelMappedName->setText(formatDisplayString(mappedName)); + // Show status TQString status_text = "<qt>"; if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Mountable)) { |