Move isclean from MainWindow to Athlete

.. rather unfortunate use of English as it leads
   to athlete->isclean == false :)
This commit is contained in:
Mark Liversedge
2013-07-12 18:15:14 +01:00
parent 6e1be4a541
commit 65182f70c1
7 changed files with 12 additions and 11 deletions

View File

@@ -700,7 +700,7 @@ RideImportWizard::abortClicked()
if (label == tr("Abort")) {
hide();
context->mainWindow->isclean = false;
context->athlete->isclean = false;
context->athlete->metricDB->refreshMetrics();
aborted=true; // terminated. I'll be back.
return;
@@ -709,7 +709,7 @@ RideImportWizard::abortClicked()
if (label == tr("Finish")) {
// phew. our work is done. -- lets force an update stats...
hide();
context->mainWindow->isclean = false;
context->athlete->isclean = false;
context->athlete->metricDB->refreshMetrics();
done(0);
return;