mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-02 11:55:36 -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
|
@ -20,6 +20,7 @@
|
|||
#ifndef PARTITIONCOREMODULE_H
|
||||
#define PARTITIONCOREMODULE_H
|
||||
|
||||
#include "core/KPMHelpers.h"
|
||||
#include "core/PartitionLayout.h"
|
||||
#include "core/PartitionModel.h"
|
||||
#include "Typedefs.h"
|
||||
|
@ -136,7 +137,7 @@ public:
|
|||
* applied to the newly-created partition.
|
||||
*/
|
||||
void createPartition( Device* device, Partition* partition,
|
||||
PartitionTable::Flags flags = PartitionTable::FlagNone );
|
||||
PartitionTable::Flags flags = KPM_PARTITION_FLAG(None) );
|
||||
|
||||
void createVolumeGroup( QString &vgName, QVector< const Partition* > pvList, qint32 peSize );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue