Partitions: use an enum with clear semantics instead of bool

This commit is contained in:
Adriaan de Groot 2017-07-12 05:41:29 -04:00
parent 730e0d885f
commit 7d49255a78
3 changed files with 11 additions and 5 deletions

View file

@ -116,7 +116,7 @@ PartitionCoreModule::doInit()
FileSystemFactory::init();
using DeviceList = QList< Device* >;
DeviceList devices = PartUtils::getDevices( true );
DeviceList devices = PartUtils::getDevices( PartUtils::DeviceType::WritableOnly );
cDebug() << "LIST OF DETECTED DEVICES:";
cDebug() << "node\tcapacity\tname\tprettyName";