|
|
@ -360,7 +360,7 @@ void TDEBackend::ResetProperties(TDEStorageDevice * sdevice, bool allowNotificat
|
|
|
|
|
|
|
|
|
|
|
|
// Keep these conditions in sync with ::AddDevice above, OR ELSE!!!
|
|
|
|
// Keep these conditions in sync with ::AddDevice above, OR ELSE!!!
|
|
|
|
// BEGIN
|
|
|
|
// BEGIN
|
|
|
|
|
|
|
|
if (sdevice->isDiskOfType(TDEDiskDeviceType::HDD)) {
|
|
|
|
if (!(sdevice->isDiskOfType(TDEDiskDeviceType::LUKS))
|
|
|
|
if (!(sdevice->isDiskOfType(TDEDiskDeviceType::LUKS))
|
|
|
|
&& !(sdevice->checkDiskStatus(TDEDiskDeviceStatus::ContainsFilesystem))
|
|
|
|
&& !(sdevice->checkDiskStatus(TDEDiskDeviceStatus::ContainsFilesystem))
|
|
|
|
&& !(sdevice->isDiskOfType(TDEDiskDeviceType::CDAudio))
|
|
|
|
&& !(sdevice->isDiskOfType(TDEDiskDeviceType::CDAudio))
|
|
|
@ -379,6 +379,7 @@ void TDEBackend::ResetProperties(TDEStorageDevice * sdevice, bool allowNotificat
|
|
|
|
}
|
|
|
|
}
|
|
|
|
setVolumeProperties(m);
|
|
|
|
setVolumeProperties(m);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ((sdevice->isDiskOfType(TDEDiskDeviceType::CDROM))
|
|
|
|
if ((sdevice->isDiskOfType(TDEDiskDeviceType::CDROM))
|
|
|
|
|| (sdevice->isDiskOfType(TDEDiskDeviceType::CDR))
|
|
|
|
|| (sdevice->isDiskOfType(TDEDiskDeviceType::CDR))
|
|
|
|