summaryrefslogtreecommitdiffstats
path: root/installerbuilder/libinstaller/3rdparty/kdtools
diff options
context:
space:
mode:
authorNiels Weber <niels.2.weber@nokia.com>2012-02-15 12:48:17 +0100
committerNiels Weber <niels.2.weber@nokia.com>2012-02-15 12:58:48 +0100
commitbd4b51196497cb7bca27c70625f4a62675f3b4d3 (patch)
treee58a8f94f11775c0d86481d8b221409362e1fe79 /installerbuilder/libinstaller/3rdparty/kdtools
parent7f417e58129a14b8673349ed627b72bf9f348cb6 (diff)
remove code that has been ifdefed out since forever
Change-Id: I52ba7e94f12d12af25e55490e01f785f0e07fe96 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'installerbuilder/libinstaller/3rdparty/kdtools')
-rw-r--r--installerbuilder/libinstaller/3rdparty/kdtools/kdupdaterupdatefinder.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/installerbuilder/libinstaller/3rdparty/kdtools/kdupdaterupdatefinder.cpp b/installerbuilder/libinstaller/3rdparty/kdtools/kdupdaterupdatefinder.cpp
index a08d481b7..48d2aaef7 100644
--- a/installerbuilder/libinstaller/3rdparty/kdtools/kdupdaterupdatefinder.cpp
+++ b/installerbuilder/libinstaller/3rdparty/kdtools/kdupdaterupdatefinder.cpp
@@ -489,25 +489,6 @@ QList<UpdateInfo> UpdateFinder::Private::applicableUpdates(UpdatesInfo *updatesI
return retList;
}
-#if 0
- // Nokia-SDK: ignore ApplicationVersion, it has no purpose and just causes
- // problems if someone bumps the config.xml application version accidentally
- // Check to see if the update repository versions match with app version
- if (!anyApp) {
- QString appVersion = updatesInfo->applicationVersion();
- appVersion = appVersion.replace(QLatin1String( ", " ), QLatin1String( "," ));
- appVersion = appVersion.replace(QLatin1String( " ," ), QLatin1String( "," ));
- QStringList versions = appVersion.split(QLatin1String( "," ), QString::SkipEmptyParts);
-
- if (appNameIndex >= versions.count())
- return retList; // please give us well formatted Updates.xml files.
-
- QString version = versions.at(appNameIndex);
- if (KDUpdater::compareVersion(this->application->applicationVersion(), version) != 0)
- return retList;
- }
-#endif
-
// Check to see if version numbers match. This means that the version
// number of the update should be greater than the version number of
// the package that is currently installed.