aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/scxmleditor/common/colorthemes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scxmleditor/common/colorthemes.cpp')
-rw-r--r--src/plugins/scxmleditor/common/colorthemes.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/scxmleditor/common/colorthemes.cpp b/src/plugins/scxmleditor/common/colorthemes.cpp
index 06b503a569..8f553bd9bd 100644
--- a/src/plugins/scxmleditor/common/colorthemes.cpp
+++ b/src/plugins/scxmleditor/common/colorthemes.cpp
@@ -30,9 +30,10 @@
#include "scxmleditorconstants.h"
#include "scxmltag.h"
-#include <QMenu>
-
#include <coreplugin/icore.h>
+#include <utils/stringutils.h>
+
+#include <QMenu>
using namespace ScxmlEditor::Common;
@@ -152,9 +153,9 @@ void ColorThemes::setDocument(ScxmlEditor::PluginInterface::ScxmlDocument *doc)
if (m_document) {
PluginInterface::ScxmlTag *scxmlTag = m_document->scxmlRootTag();
if (scxmlTag && scxmlTag->hasEditorInfo(Constants::C_SCXML_EDITORINFO_COLORS)) {
- const QStringList colors = scxmlTag->editorInfo(Constants::C_SCXML_EDITORINFO_COLORS).split(";;", QString::SkipEmptyParts);
+ const QStringList colors = scxmlTag->editorInfo(Constants::C_SCXML_EDITORINFO_COLORS).split(";;", Utils::SkipEmptyParts);
for (const QString &color : colors) {
- const QStringList colorInfo = color.split("_", QString::SkipEmptyParts);
+ const QStringList colorInfo = color.split("_", Utils::SkipEmptyParts);
if (colorInfo.count() == 2)
documentColors[colorInfo[0]] = colorInfo[1];
}