summaryrefslogtreecommitdiffstats
path: root/installerbuilder/common
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@nokia.com>2011-07-26 18:48:59 +0200
committerTim Jenssen <tim.jenssen@nokia.com>2011-07-27 14:26:08 +0200
commit9d43d3f36a6869fe6e9711d441677830d5d54ace (patch)
tree771f7e0c11b1b23b72eedcc1f945c4642fb5808a /installerbuilder/common
parent308dc03e51cbfe66506b93e6b37c8429a971eb27 (diff)
enable ,<space> and , as seperator in stringlist values
Reviewed-By: Niels Weber
Diffstat (limited to 'installerbuilder/common')
-rw-r--r--installerbuilder/common/repositorygen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/installerbuilder/common/repositorygen.cpp b/installerbuilder/common/repositorygen.cpp
index 35e61cbe4..7c77817e7 100644
--- a/installerbuilder/common/repositorygen.cpp
+++ b/installerbuilder/common/repositorygen.cpp
@@ -111,7 +111,7 @@ static QVector<PackageInfo> collectAvailablePackages(const QString& packagesDire
info.version = doc.firstChildElement(QString::fromLatin1("Package")).
firstChildElement(QString::fromLatin1("Version")).text();
info.dependencies = doc.firstChildElement(QString::fromLatin1("Package")).
- firstChildElement(QString::fromLatin1("Dependencies")).text().split(QLatin1String(","),
+ firstChildElement(QString::fromLatin1("Dependencies")).text().split(QRegExp(QLatin1String("\\b(,|, )\\b")),
QString::SkipEmptyParts);
info.directory = it->filePath();
dict.push_back(info);