Commit e9c1aa8e authored by Raine Makelainen's avatar Raine Makelainen

Cleanup bool methods from partition

parent 767be3af
......@@ -93,7 +93,7 @@ bool Partition::isEncrypted() const
bool Partition::isCryptoDevice() const
{
return d ? d->isCryptoDevice : false;
return d && d->isCryptoDevice;
}
Partition::StorageType Partition::storageType() const
......@@ -129,7 +129,7 @@ QString Partition::filesystemType() const
bool Partition::isSupportedFileSystemType() const
{
return d ? d->isSupportedFileSystemType : false;
return d && d->isSupportedFileSystemType;
}
qint64 Partition::bytesAvailable() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment