summaryrefslogtreecommitdiff
path: root/src/plugins/qmljseditor/qmloutlinemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmljseditor/qmloutlinemodel.cpp')
-rw-r--r--src/plugins/qmljseditor/qmloutlinemodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmljseditor/qmloutlinemodel.cpp b/src/plugins/qmljseditor/qmloutlinemodel.cpp
index 092dc03693..583c612d15 100644
--- a/src/plugins/qmljseditor/qmloutlinemodel.cpp
+++ b/src/plugins/qmljseditor/qmloutlinemodel.cpp
@@ -310,7 +310,7 @@ QmlOutlineModel::QmlOutlineModel(QmlJSTextEditorWidget *editor) :
m_textEditor(editor)
{
m_icons = Icons::instance();
- const QString resourcePath = Core::ICore::instance()->resourcePath();
+ const QString resourcePath = Core::ICore::resourcePath();
Icons::instance()->setIconFilesPath(resourcePath + "/qmlicons");
// TODO: Maybe add a Copy Action?