浏览代码

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 <slavek.banko@axis.cz>
pull/29/head
父节点
当前提交
dfe3c9649f
签署人:: SlavekB <slavek.banko@axis.cz> GPG 密钥 ID: 608F5293A04BE668
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      tdecore/tdehw/tdehardwaredevices.cpp

+ 1
- 1
tdecore/tdehw/tdehardwaredevices.cpp 查看文件

@@ -2760,7 +2760,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 {


正在加载...
取消
保存