Remove PartitionInfo if we remove a Partition

main
Aurélien Gâteau 11 years ago
parent 3ed5704818
commit 467d89f56f

@ -94,6 +94,8 @@ PartitionCoreModule::createPartition( Device* device, PartitionInfo* partitionIn
void
PartitionCoreModule::deletePartition( Device* device, Partition* partition )
{
m_infoForPartitionHash.remove( partition );
if ( partition->state() == Partition::StateNew )
{
// Find matching CreatePartitionJob

Loading…
Cancel
Save