summaryrefslogtreecommitdiffstats
path: root/kcontrol
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol')
-rw-r--r--kcontrol/hwmanager/devicepropsdlg.cpp4
-rw-r--r--kcontrol/hwmanager/devicepropsdlgbase.ui15
2 files changed, 18 insertions, 1 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)) {
diff --git a/kcontrol/hwmanager/devicepropsdlgbase.ui b/kcontrol/hwmanager/devicepropsdlgbase.ui
index 48fcf7d75..b6c53c331 100644
--- a/kcontrol/hwmanager/devicepropsdlgbase.ui
+++ b/kcontrol/hwmanager/devicepropsdlgbase.ui
@@ -302,13 +302,26 @@
<cstring>unnamed</cstring>
</property>
<property name="text">
+ <string>Mapped name:</string>
+ </property>
+ </widget>
+ <widget class="KActiveLabel" row="3" column="1" colspan="1">
+ <property name="name">
+ <cstring>labelMappedName</cstring>
+ </property>
+ </widget>
+ <widget class="TQLabel" row="4" column="0" colspan="1">
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <property name="text">
<string>Status:</string>
</property>
<property name="alignment">
<set>AlignTop|AlignLeft</set>
</property>
</widget>
- <widget class="KActiveLabel" row="3" column="1" colspan="1">
+ <widget class="KActiveLabel" row="4" column="1" colspan="1">
<property name="name">
<cstring>labelDiskStatus</cstring>
</property>