summaryrefslogtreecommitdiffstats
path: root/installerbuilder/libinstaller/getrepositorymetainfojob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'installerbuilder/libinstaller/getrepositorymetainfojob.cpp')
-rw-r--r--installerbuilder/libinstaller/getrepositorymetainfojob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/installerbuilder/libinstaller/getrepositorymetainfojob.cpp b/installerbuilder/libinstaller/getrepositorymetainfojob.cpp
index 6223537ea..51cbedfe9 100644
--- a/installerbuilder/libinstaller/getrepositorymetainfojob.cpp
+++ b/installerbuilder/libinstaller/getrepositorymetainfojob.cpp
@@ -215,9 +215,9 @@ void GetRepositoryMetaInfoJob::updatesXmlDownloadFinished()
if (el.tagName() == QLatin1String("PackageUpdate")) {
const QDomNodeList c2 = el.childNodes();
for (int j = 0; j < c2.count(); ++j)
- if (c2.at(j).toElement().tagName() == QLatin1String("Name"))
+ if (c2.at(j).toElement().tagName() == scName)
m_packageNames << c2.at(j).toElement().text();
- else if (c2.at(j).toElement().tagName() == QLatin1String("Version"))
+ else if (c2.at(j).toElement().tagName() == scVersion)
m_packageVersions << c2.at(j).toElement().text();
else if (c2.at(j).toElement().tagName() == QLatin1String("SHA1"))
m_packageHash << c2.at(j).toElement().text();