[partition] Write out type rather than aliasing to T

This commit is contained in:
Adriaan de Groot 2021-07-05 13:11:00 +02:00
parent 7ea6768852
commit 1a542d3afe
2 changed files with 42 additions and 41 deletions

View file

@ -432,14 +432,15 @@ PartitionViewStep::onLeave()
{
if ( PartUtils::isEfiSystem() )
{
QString espMountPoint
const QString espMountPoint
= Calamares::JobQueue::instance()->globalStorage()->value( "efiSystemPartition" ).toString();
const QString espFlagName = PartitionTable::flagName(
#ifdef WITH_KPMCORE4API
auto espFlag = PartitionTable::Flag::Boot;
PartitionTable::Flag::Boot
#else
auto espFlag = PartitionTable::FlagEsp;
PartitionTable::FlagEsp
#endif
QString espFlagName = PartitionTable::flagName( espFlag );
);
Partition* esp = m_core->findPartitionByMountPoint( espMountPoint );
QString message;