Coding style fixes

This commit is contained in:
Aurélien Gâteau 2014-07-17 09:49:24 +02:00
parent ec6703b9cd
commit 8a64dcb270
2 changed files with 2 additions and 6 deletions

View file

@ -136,10 +136,8 @@ PartitionCoreModule::DeviceInfo::forgetChanges()
{
jobs.clear();
for ( auto it = PartitionIterator::begin( device.data() ); it != PartitionIterator::end( device.data() ); ++it )
{
PartitionInfo::reset( *it );
}
}
//- PartitionCoreModule ------------------------------------
PartitionCoreModule::PartitionCoreModule( QObject* parent )

View file

@ -198,8 +198,6 @@ PartitionPage::editExistingPartition( Device* device, Partition* partition )
{
QPointer<EditExistingPartitionDialog> dlg = new EditExistingPartitionDialog( device, partition, this );
if ( dlg->exec() == QDialog::Accepted )
{
dlg->applyChanges( m_core );
}
delete dlg;
}