summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/tdehardwaredevices.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-02-04 20:46:26 +0100
committerSlávek Banko <[email protected]>2016-02-04 20:46:38 +0100
commit762f90beacbd73121e26c8eef399abae2c2b19c7 (patch)
treeb45c3ccc13e32782c00168ef14595e6a6feb781e /tdecore/tdehw/tdehardwaredevices.cpp
parent9b33264c99979c526a0660eecc071ad8f2678ea4 (diff)
downloadtdelibs-762f90beacbd73121e26c8eef399abae2c2b19c7.tar.gz
tdelibs-762f90beacbd73121e26c8eef399abae2c2b19c7.zip
Set hotpluggable flag for flash disks instead of removable
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit f8fbb3bd78ac30e41c81261b4a71c61dcead811f)
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 4aca70439..54f77470c 100644
--- a/tdecore/tdehw/tdehardwaredevices.cpp
+++ b/tdecore/tdehw/tdehardwaredevices.cpp
@@ -2664,7 +2664,7 @@ void TDEHardwareDevices::updateExistingDeviceInformation(TDEGenericDevice* exist
|| (disktype & TDEDiskDeviceType::SDMMC))
&& !(diskstatus & TDEDiskDeviceStatus::Removable)
&& !(diskstatus & TDEDiskDeviceStatus::Hotpluggable)) {
- diskstatus = diskstatus | TDEDiskDeviceStatus::Removable;
+ diskstatus = diskstatus | TDEDiskDeviceStatus::Hotpluggable;
}
if ((filesystemtype.upper() != "CRYPTO_LUKS") && (filesystemtype.upper() != "CRYPTO") && (filesystemtype.upper() != "SWAP") && (!filesystemtype.isNull())) {