Remove PartitionInfo if we remove a Partition

This commit is contained in:
Aurélien Gâteau 2014-07-04 17:59:03 +02:00
parent 3ed5704818
commit 467d89f56f

View File

@ -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