diff options
author | kh1 <qt-info@nokia.com> | 2011-04-21 13:50:39 +0200 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-04-21 13:50:39 +0200 |
commit | 3423d4e48ab40747e995ef65cfadabb2ac5a6ea9 (patch) | |
tree | 12aae5e9743a07df3f823b870e799beea6121bee /installerbuilder/libinstaller/qinstaller.cpp | |
parent | c6af090930c1e8f25ac3938de67787eb85db6fc8 (diff) |
Also take the updater mode into account.
Diffstat (limited to 'installerbuilder/libinstaller/qinstaller.cpp')
-rw-r--r-- | installerbuilder/libinstaller/qinstaller.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installerbuilder/libinstaller/qinstaller.cpp b/installerbuilder/libinstaller/qinstaller.cpp index 01d882c50..d74a96f5e 100644 --- a/installerbuilder/libinstaller/qinstaller.cpp +++ b/installerbuilder/libinstaller/qinstaller.cpp @@ -1677,7 +1677,7 @@ void Installer::languageChanged() } /*! - Runs the installer or uninstaller, depending on the type of this binary. + Runs the installer, un-installer, updater or package manager, depending on the type of this binary. */ bool Installer::run() { @@ -1686,7 +1686,7 @@ bool Installer::run() d->runInstaller(); else if (isUninstaller()) d->runUninstaller(); - else if (isPackageManager()) + else if (isPackageManager() || isUpdater()) d->runPackageUpdater(); return true; } catch (const Error &err) { |