[partition] Indicate that a filesystem is new in GS

This commit is contained in:
Adriaan de Groot 2020-02-16 13:21:49 +01:00
parent 7c2a196568
commit 158e11de1e

View File

@ -100,6 +100,7 @@ mapForPartition( Partition* partition, const QString& uuid )
map[ "fs" ] = untranslatedFS( dynamic_cast< FS::luks& >( partition->fileSystem() ).innerFS() ); map[ "fs" ] = untranslatedFS( dynamic_cast< FS::luks& >( partition->fileSystem() ).innerFS() );
} }
map[ "uuid" ] = uuid; map[ "uuid" ] = uuid;
map[ "new" ] = partition->state() == Partition::StateNew;
// Debugging for inside the loop in createPartitionList(), // Debugging for inside the loop in createPartitionList(),
// so indent a bit // so indent a bit