forked from qt-creator/qt-creator
replace ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>() by Core::ICore::instance()
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
#include "qt4project.h"
|
||||
#include "qt4projectmanagerconstants.h"
|
||||
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
using namespace Qt4ProjectManager;
|
||||
@@ -66,8 +66,7 @@ void GdbMacrosBuildStep::run(QFutureInterface<bool> & fi)
|
||||
QVariant v = value("clean");
|
||||
if (v.isNull() || v.toBool() == false) {
|
||||
// Normal run
|
||||
QString dumperPath = ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>()
|
||||
->resourcePath() + "/gdbmacros/";
|
||||
QString dumperPath = Core::ICore::instance()->resourcePath() + "/gdbmacros/";
|
||||
QStringList files;
|
||||
files << "gdbmacros.cpp"
|
||||
<< "gdbmacros.pro";
|
||||
|
Reference in New Issue
Block a user