Clean up ProgressLogger state handling:

- use better names for member functions
- don't emit aborted() when exiting a successful log


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20844 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2009-05-02 18:40:04 +00:00
parent b10ba5e8b3
commit 7cfdd47587
11 changed files with 83 additions and 66 deletions

View file

@ -36,7 +36,7 @@ void Uninstaller::deleteAll(ProgressloggerInterface* dp)
m_dp->setProgressMax(1);
m_dp->setProgressValue(1);
m_dp->addItem(tr("Finished Uninstallation"),LOGOK);
m_dp->abort();
m_dp->setFinished();
}
void Uninstaller::uninstall(ProgressloggerInterface* dp)
@ -110,7 +110,7 @@ void Uninstaller::uninstall(ProgressloggerInterface* dp)
m_dp->setProgressMax(1);
m_dp->setProgressValue(1);
m_dp->addItem(tr("Uninstallation finished"),LOGOK);
m_dp->abort();
m_dp->setFinished();
}
QStringList Uninstaller::getAllSections()