forked from qt-creator/qt-creator
replace ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>() by Core::ICore::instance()
This commit is contained in:
@@ -36,12 +36,21 @@
|
||||
#include <QtCore/QDir>
|
||||
#include <QtCore/QCoreApplication>
|
||||
|
||||
namespace Core {
|
||||
namespace Internal {
|
||||
|
||||
// The Core Singleton
|
||||
static CoreImpl *m_instance = 0;
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Core
|
||||
|
||||
|
||||
using namespace Core;
|
||||
using namespace Core::Internal;
|
||||
|
||||
CoreImpl *CoreImpl::m_instance = 0;
|
||||
|
||||
CoreImpl *CoreImpl::instance()
|
||||
ICore* ICore::instance()
|
||||
{
|
||||
return m_instance;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user