[partition] Remove setState call to resolve compat issue with older kpmcore

This commit is contained in:
dalto 2021-11-18 13:36:23 -06:00
parent ece1e338e0
commit f5b882a075

View File

@ -77,7 +77,6 @@ createZfs( Partition* partition, Device* device )
} }
partition->setPartitionPath( deviceNode ); partition->setPartitionPath( deviceNode );
partition->setState( Partition::State::None );
// If it is a gpt device, set the partition UUID // If it is a gpt device, set the partition UUID
if ( device->partitionTable()->type() == PartitionTable::gpt && partition->uuid().isEmpty() ) if ( device->partitionTable()->type() == PartitionTable::gpt && partition->uuid().isEmpty() )