mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 01:15:38 -04:00
Partitions: use an enum with clear semantics instead of bool
This commit is contained in:
parent
730e0d885f
commit
7d49255a78
3 changed files with 11 additions and 5 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue