mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
Mark the partition we create as "StateNew"
This way if user wants to remove it later we can remove the creation job instead of queueing a delete job
This commit is contained in:
parent
724780fb23
commit
f9ca45face
1 changed files with 6 additions and 1 deletions
|
@ -102,7 +102,12 @@ CreatePartitionDialog::createJob()
|
|||
*m_device,
|
||||
m_role,
|
||||
fs, first, last,
|
||||
QString() /* path */
|
||||
QString() /* path */,
|
||||
PartitionTable::FlagNone /* availableFlags */,
|
||||
QString() /* mountPoint */,
|
||||
false /* mounted */,
|
||||
PartitionTable::FlagNone /* activeFlags */,
|
||||
Partition::StateNew
|
||||
);
|
||||
return new CreatePartitionJob( m_device, partition );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue