Core: Clean up some ICore::instance() uses

Change-Id: I888b30094ed75818ee3af58c94ebf8468afa5eb9
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
hjk
2013-09-20 23:17:22 +02:00
parent 10e458d5d0
commit c4d1d7f278
10 changed files with 15 additions and 21 deletions

View File

@@ -100,8 +100,8 @@ QmlJSEditorPlugin::QmlJSEditorPlugin() :
m_reformatFileAction(0),
m_currentEditor(0),
m_jsonManager(new Utils::JsonSchemaManager(
QStringList() << Core::ICore::instance()->userResourcePath() + QLatin1String("/json/")
<< Core::ICore::instance()->resourcePath() + QLatin1String("/json/")))
QStringList() << Core::ICore::userResourcePath() + QLatin1String("/json/")
<< Core::ICore::resourcePath() + QLatin1String("/json/")))
{
m_instance = this;
}