From 8a44ffe4629856c5599e34a56ff69f48640395aa Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Thu, 24 Dec 2015 12:58:15 +0100 Subject: [PATCH] Either revert or clear jobs, not both. --- src/modules/partition/gui/ChoicePage.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 50b9121ac..db199ce9f 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -388,7 +388,6 @@ ChoicePage::applyDeviceChoice() if ( m_core->isDirty() ) { m_core->revertDevice( selectedDevice() ); - m_core->clearJobs(); } Device* currd = selectedDevice(); @@ -421,7 +420,6 @@ ChoicePage::applyActionChoice( ChoicePage::Choice choice ) if ( m_core->isDirty() ) { m_core->revertDevice( selectedDevice() ); - m_core->clearJobs(); } PartitionActions::doAutopartition( m_core, selectedDevice() ); @@ -430,7 +428,6 @@ ChoicePage::applyActionChoice( ChoicePage::Choice choice ) if ( m_core->isDirty() ) { m_core->revertDevice( selectedDevice() ); - m_core->clearJobs(); } connect( m_beforePartitionBarsView->selectionModel(), &QItemSelectionModel::currentRowChanged, @@ -452,7 +449,6 @@ ChoicePage::applyActionChoice( ChoicePage::Choice choice ) if ( m_core->isDirty() ) { m_core->asyncRevertDevice( selectedDevice(), doReplace ); - m_core->clearJobs(); } else doReplace();