Make sure we always set the filesystem label.

In particular, we need a separate Job class to set the label; this
is invoked after we formatted a partition, and when no other changes
to the partition have been requested in the Edit dialog.
This commit is contained in:
shainer 2016-07-23 19:04:23 +01:00 committed by Adriaan de Groot
parent 3d49379bec
commit c035029f38
6 changed files with 172 additions and 3 deletions

View file

@ -147,6 +147,8 @@ public:
void formatPartition( Device* device, Partition* partition );
void setFilesystemLabel( Device* device, Partition* partition, const QString& newLabel);
void resizePartition( Device* device, Partition* partition, qint64 first, qint64 last );
void setPartitionFlags( Device* device, Partition* partition, PartitionTable::Flags flags );