summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-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);