diff options
author | Slávek Banko <[email protected]> | 2019-02-27 20:23:30 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-02-27 20:23:44 +0100 |
commit | 9ce98047ff565d235ce9499fddb76995b10845ed (patch) | |
tree | dd73ff8c3a6dedd5da0e209af745929bce4da848 /tdecore | |
parent | 33c3818ac59fda3a00b7cff19fd3b1f09296fe5d (diff) | |
download | tdelibs-9ce98047ff565d235ce9499fddb76995b10845ed.tar.gz tdelibs-9ce98047ff565d235ce9499fddb76995b10845ed.zip |
tdehwlib: Fix the flag setting whether the storage device contains the file system.
This resolves bug 2232, bug 2607 and bug 2946.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit dfe3c9649f649f2dbd7eac60e3847d4e978e24f4)
Diffstat (limited to 'tdecore')
-rw-r--r-- | tdecore/tdehw/tdehardwaredevices.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp index 95261d0a9..ac00037b1 100644 --- a/tdecore/tdehw/tdehardwaredevices.cpp +++ b/tdecore/tdehw/tdehardwaredevices.cpp @@ -2697,7 +2697,7 @@ void TDEHardwareDevices::updateExistingDeviceInformation(TDEGenericDevice* exist diskstatus = diskstatus | TDEDiskDeviceStatus::Hotpluggable; } - if ((filesystemtype.upper() != "CRYPTO_LUKS") && (filesystemtype.upper() != "CRYPTO") && (filesystemtype.upper() != "SWAP") && (!filesystemtype.isNull())) { + if ((filesystemtype.upper() != "CRYPTO_LUKS") && (filesystemtype.upper() != "CRYPTO") && (filesystemtype.upper() != "SWAP") && (!filesystemtype.isEmpty())) { diskstatus = diskstatus | TDEDiskDeviceStatus::ContainsFilesystem; } else { |