From f8fbb3bd78ac30e41c81261b4a71c61dcead811f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 4 Feb 2016 20:46:26 +0100 Subject: [PATCH] Set hotpluggable flag for flash disks instead of removable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- tdecore/tdehw/tdehardwaredevices.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())) {