summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/uninstall.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-05-02 18:40:04 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-05-02 18:40:04 +0000
commit7cfdd4758767e6c5a6fceb0cb5d12ef3b1c99b5d (patch)
tree9814a23e24cd9be26f0009835a463b5a9c097f7f /rbutil/rbutilqt/base/uninstall.cpp
parentb10ba5e8b34eaac0c4b72bcf3be3db180c43126a (diff)
downloadrockbox-7cfdd4758767e6c5a6fceb0cb5d12ef3b1c99b5d.tar.gz
rockbox-7cfdd4758767e6c5a6fceb0cb5d12ef3b1c99b5d.tar.bz2
rockbox-7cfdd4758767e6c5a6fceb0cb5d12ef3b1c99b5d.zip
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
Diffstat (limited to 'rbutil/rbutilqt/base/uninstall.cpp')
-rw-r--r--rbutil/rbutilqt/base/uninstall.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/uninstall.cpp b/rbutil/rbutilqt/base/uninstall.cpp
index ae5ece7da5..b7a63edcd5 100644
--- a/rbutil/rbutilqt/base/uninstall.cpp
+++ b/rbutil/rbutilqt/base/uninstall.cpp
@@ -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()