mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 00:48:22 -04:00
[partition] Avoid KPMCore warnings
- Get ready for KPMCore post-3.3.0, which deprecates a bunch of Flag<foo> and State<foo> in preparation of enum classes.
This commit is contained in:
parent
5d6d2b8078
commit
2a2795c54c
9 changed files with 29 additions and 20 deletions
|
@ -425,7 +425,7 @@ isEfiBootable( const Partition* candidate )
|
|||
const PartitionTable* table = dynamic_cast<const PartitionTable*>( root );
|
||||
cDebug() << " .. partition table" << (void *)table << "type" << ( table ? table->type() : PartitionTable::TableType::unknownTableType );
|
||||
return table && ( table->type() == PartitionTable::TableType::gpt ) &&
|
||||
flags.testFlag( PartitionTable::FlagBoot );
|
||||
flags.testFlag( KPM_PARTITION_FLAG(Boot) );
|
||||
}
|
||||
|
||||
QString
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue