forked from len0rd/rockbox
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:
parent
b10ba5e8b3
commit
7cfdd47587
11 changed files with 83 additions and 66 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue