diff options
Diffstat (limited to 'installerbuilder/common')
-rw-r--r-- | installerbuilder/common/repositorygen.cpp | 2 |
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); |