aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@qt.io>2017-11-08 16:55:13 +0100
committerTim Jenssen <tim.jenssen@qt.io>2017-11-09 08:26:43 +0000
commit0c79114f41f0274c532cf827056b8a3b5821655f (patch)
treefa8df4247556daefb38c38f54cc58b4497ff51cf /src
parent9cb56f4d7311254eaf285e468a8d580b902c5873 (diff)
QmlDesigner: fix replaceCssColors
Change-Id: I1b4f084c3bb88a68a5a54be2f68e86ec30996dfd Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/qmldesigner/components/componentcore/theme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/componentcore/theme.cpp b/src/plugins/qmldesigner/components/componentcore/theme.cpp
index b692efa4ee..68b0db1346 100644
--- a/src/plugins/qmldesigner/components/componentcore/theme.cpp
+++ b/src/plugins/qmldesigner/components/componentcore/theme.cpp
@@ -96,7 +96,7 @@ Theme *Theme::instance()
QString Theme::replaceCssColors(const QString &input)
{
const QMap<QString, QColor> &map = instance()->m_derivedColors;
- QRegExp rx("creatorTheme\\.(\\w+);");
+ QRegExp rx("creatorTheme\\.(\\w+)");
int pos = 0;
QString output = input;