diff options
Diffstat (limited to 'src/plugins/qmljseditor/qmljseditorplugin.cpp')
-rw-r--r-- | src/plugins/qmljseditor/qmljseditorplugin.cpp | 5 |
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; |