[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:
Adriaan de Groot 2019-03-20 16:32:13 +01:00
parent 5d6d2b8078
commit 2a2795c54c
9 changed files with 29 additions and 20 deletions

View file

@ -143,7 +143,7 @@ PartitionLayout::execute( Device *dev, qint64 firstSector,
part.partFileSystem,
firstSector,
end,
PartitionTable::FlagNone
KPM_PARTITION_FLAG(None)
);
}
else
@ -156,7 +156,7 @@ PartitionLayout::execute( Device *dev, qint64 firstSector,
firstSector,
end,
luksPassphrase,
PartitionTable::FlagNone
KPM_PARTITION_FLAG(None)
);
}
PartitionInfo::setFormat( currentPartition, true );