diff options
author | kh1 <qt-info@nokia.com> | 2011-07-01 12:09:32 +0200 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-07-01 12:09:32 +0200 |
commit | 7f75020e00a2e3189020e9efd2e1279263792107 (patch) | |
tree | 5b1b595f31c3c905385683dd294f4febfdf34f9d /installerbuilder/libinstaller/updater.cpp | |
parent | fd128c68c28657492a2b0f92d9da3f30e4d72a65 (diff) |
Keep the updater application as class member.
I can't see any reason to be able to set it from the outside,
thus it makes no sense to have that functionality at all.
To be able to work properly the app had to be set, but could
be easily forgotten, leading to a crash later on. Re-parsing
should be removed as well, will do it next.
Diffstat (limited to 'installerbuilder/libinstaller/updater.cpp')
-rw-r--r-- | installerbuilder/libinstaller/updater.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/installerbuilder/libinstaller/updater.cpp b/installerbuilder/libinstaller/updater.cpp index 9adba482c..e4962bede 100644 --- a/installerbuilder/libinstaller/updater.cpp +++ b/installerbuilder/libinstaller/updater.cpp @@ -72,9 +72,6 @@ bool Updater::checkForUpdates() core.setUpdater(); PackageManagerCore::setVirtualComponentsVisible(true); - KDUpdater::Application updaterapp; - core.setUpdaterApplication(&updaterapp); - if (core.fetchUpdaterPackages()) { const QList<QInstaller::Component*> components = core.components(true, UpdaterMode); |