summaryrefslogtreecommitdiff
path: root/src/plugins/qmljseditor/qmljseditorplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmljseditor/qmljseditorplugin.cpp')
-rw-r--r--src/plugins/qmljseditor/qmljseditorplugin.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/qmljseditor/qmljseditorplugin.cpp b/src/plugins/qmljseditor/qmljseditorplugin.cpp
index 7414a1a972..e0d5703102 100644
--- a/src/plugins/qmljseditor/qmljseditorplugin.cpp
+++ b/src/plugins/qmljseditor/qmljseditorplugin.cpp
@@ -92,8 +92,9 @@ public:
QPointer<QmlJSEditorDocument> m_currentDocument;
- Utils::JsonSchemaManager m_jsonManager{{ICore::userResourcePath() + "/json/",
- ICore::resourcePath() + "/json/"}};
+ Utils::JsonSchemaManager m_jsonManager{
+ {ICore::userResourcePath("json/").toString(),
+ ICore::resourcePath("json/").toString()}};
QmlJSEditorFactory m_qmlJSEditorFactory;
QmlJSOutlineWidgetFactory m_qmlJSOutlineWidgetFactory;
QuickToolBar m_quickToolBar;