Merge pull request #1828 from dalto8/remove-setstate

Remove setState call to resolve compat issue with older kpmcore
This commit is contained in:
Adriaan de Groot 2021-11-18 23:40:40 +01:00 committed by GitHub
commit feba83acdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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