summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKimmo Ollila <kimmo.ollila@theqtcompany.com>2016-02-23 16:00:38 +0200
committerKimmo Ollila <kimmo.ollila@theqtcompany.com>2016-02-23 14:05:00 +0000
commitf5aaf9297648b397ee8fecb0a494b4774e130422 (patch)
tree92ffdbd725db6585911b82d65ae83e275ffb5b62
parentb92077ac6962c9f42f778facbdea4a81affb22c1 (diff)
Fixed demo excludelist handling5.6
Change-Id: I2cc69d673979a5b12e186468f6751cd742b3f9f5 Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
-rw-r--r--src/applicationsmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/applicationsmodel.cpp b/src/applicationsmodel.cpp
index 38b6dec..4938ab6 100644
--- a/src/applicationsmodel.cpp
+++ b/src/applicationsmodel.cpp
@@ -75,7 +75,7 @@ public:
case QXmlStreamReader::StartElement:
if (xml.name().toString().toLower() == "application") {
- const QStringList excludeList = xml.attributes().value("exclude").toString().split(QRegExp(":|\\s+"));
+ const QStringList excludeList = xml.attributes().value("exclude").toString().split(QStringLiteral(";"));
exclude = excludeList.contains(target) || excludeList.contains(QStringLiteral("all"));