summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiels Weber <niels.2.weber@nokia.com>2012-03-07 13:52:42 +0100
committerKarsten Heimrich <karsten.heimrich@nokia.com>2012-03-07 19:45:29 +0100
commitf59d31b7265c068ff096c0cf70953078defe6681 (patch)
tree9624126f07f00d1c24b7f01fd06c048c6cd1ff27
parentd1bc55fd0d0b32d002d62ab1cfafc3b46efc42b6 (diff)
remove unused variable
Conflicts: installerbuilder/libinstaller/3rdparty/kdtools/kdupdaterupdatefinder.cpp Change-Id: I7405540157376c9946678ce626305abf9ea727ae Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
-rw-r--r--installerbuilder/libinstaller/3rdparty/kdtools/kdupdaterupdatefinder.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/installerbuilder/libinstaller/3rdparty/kdtools/kdupdaterupdatefinder.cpp b/installerbuilder/libinstaller/3rdparty/kdtools/kdupdaterupdatefinder.cpp
index 2e9e7b4d3..63631a8e5 100644
--- a/installerbuilder/libinstaller/3rdparty/kdtools/kdupdaterupdatefinder.cpp
+++ b/installerbuilder/libinstaller/3rdparty/kdtools/kdupdaterupdatefinder.cpp
@@ -396,10 +396,7 @@ bool UpdateFinder::Private::computeApplicableUpdates()
if (found) {
q->reportProgress(80, tr("Found compatibility update."));
- // Let's create an update for this compat update.
- QString updateName = tr("Compatibility level %1 update").arg(reqCompatLevel);
- QUrl url;
-
+ // Create an update for this compat update.
// Pick a update file based on arch and OS.
int pickUpdateFileIndex = pickUpdateFileInfo(compatUpdateInfo.updateFiles);
if (pickUpdateFileIndex < 0) {
@@ -412,7 +409,7 @@ bool UpdateFinder::Private::computeApplicableUpdates()
UpdateFileInfo fileInfo = compatUpdateInfo.updateFiles.at(pickUpdateFileIndex);
// Create an update for this entry
- url = QString::fromLatin1("%1/%2").arg(compatUpdateSourceInfo.url.toString(), fileInfo.fileName);
+ QUrl url = QString::fromLatin1("%1/%2").arg( compatUpdateSourceInfo.url.toString(), fileInfo.fileName);
Update *update = q->constructUpdate(application, compatUpdateSourceInfo, CompatUpdate,
url, compatUpdateInfo.data, fileInfo.compressedSize,
fileInfo.uncompressedSize, fileInfo.sha1sum);