summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/tdehardwaredevices.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-02-04 20:46:26 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-02-04 20:46:26 +0100
commitf8fbb3bd78ac30e41c81261b4a71c61dcead811f (patch)
treedf42c16a2412fd7ce5f88df34d79368c51cd00d6 /tdecore/tdehw/tdehardwaredevices.cpp
parentdc350e6c6406a78621763c2d4fcbea8deca01c7c (diff)
downloadtdelibs-f8fbb3bd78ac30e41c81261b4a71c61dcead811f.tar.gz
tdelibs-f8fbb3bd78ac30e41c81261b4a71c61dcead811f.zip
Set hotpluggable flag for flash disks instead of removable
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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 8ec1a5286..e682a23d8 100644
--- a/tdecore/tdehw/tdehardwaredevices.cpp
+++ b/tdecore/tdehw/tdehardwaredevices.cpp
@@ -2718,7 +2718,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())) {