summaryrefslogtreecommitdiffstats
path: root/tools/common/repositorygen.cpp
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@nokia.com>2012-04-27 14:12:41 +0200
committerTim Jenssen <tim.jenssen@nokia.com>2012-04-27 16:23:36 +0200
commitc862c2820e08435fa2c50611394e2c7e3be9052c (patch)
treec7faa4de9a5e998ca64ef216a6036903738a915f /tools/common/repositorygen.cpp
parent29cf8564aa4c2ca9c839b47658e532015444ce58 (diff)
use scCommaRegExp where ever we can
Change-Id: I484e20fd53c2710595c5d4eb28878932eebafe35 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Diffstat (limited to 'tools/common/repositorygen.cpp')
-rw-r--r--tools/common/repositorygen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/common/repositorygen.cpp b/tools/common/repositorygen.cpp
index 7f11ad26e..f7af3d268 100644
--- a/tools/common/repositorygen.cpp
+++ b/tools/common/repositorygen.cpp
@@ -481,7 +481,7 @@ PackageInfoVector QInstallerTools::createListOfPackages(const QString &packagesD
.arg(it->fileName(), info.version));
}
info.dependencies = doc.firstChildElement(QLatin1String("Package")).
- firstChildElement(QLatin1String("Dependencies")).text().split(QRegExp(QLatin1String("\\b(,|, )\\b")),
+ firstChildElement(QLatin1String("Dependencies")).text().split(QInstaller::scCommaRegExp,
QString::SkipEmptyParts);
info.directory = it->filePath();
dict.push_back(info);