diff options
author | Timothy Pearson <[email protected]> | 2014-11-27 02:17:02 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2014-11-27 02:17:02 -0600 |
commit | 5ab19b14bd37985f904c0a1b42f5a6e36d6a3df0 (patch) | |
tree | 30eb2b61dfdcdfdbdc4be4382a116289db73580d /kcontrol/hwmanager/devicepropsdlg.cpp | |
parent | 70a56d09e0a50feabd1f0ac53c7d51e1b5d8b828 (diff) | |
download | tdebase-5ab19b14bd37985f904c0a1b42f5a6e36d6a3df0.tar.gz tdebase-5ab19b14bd37985f904c0a1b42f5a6e36d6a3df0.zip |
Honor disk hidden flag when handling device insertion notifiers
This relates to Bug 2211
Diffstat (limited to 'kcontrol/hwmanager/devicepropsdlg.cpp')
-rw-r--r-- | kcontrol/hwmanager/devicepropsdlg.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kcontrol/hwmanager/devicepropsdlg.cpp b/kcontrol/hwmanager/devicepropsdlg.cpp index c6c8cde2c..12de8cea9 100644 --- a/kcontrol/hwmanager/devicepropsdlg.cpp +++ b/kcontrol/hwmanager/devicepropsdlg.cpp @@ -415,6 +415,9 @@ void DevicePropertiesDialog::populateDeviceInformation() { if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Hotpluggable)) { status_text += "Hotpluggable<br>"; } + if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::Hidden)) { + status_text += "Hidden<br>"; + } if (status_text == "<qt>") { status_text += "<i>Unavailable</i>"; } |