Detect free space using the FS type

main
Aurélien Gâteau 11 years ago
parent c254fe0b2a
commit 3a59cdeda9

@ -20,14 +20,14 @@
// CalaPM
#include <core/partition.h>
#include <fs/filesystem.h>
namespace PMUtils
{
bool isPartitionFreeSpace( Partition* partition )
{
// FIXME: Check FS type instead
return partition->partitionPath().isEmpty();
return partition->fileSystem().type() == FileSystem::Unknown;
}
} // namespace

Loading…
Cancel
Save