forked from qt-creator/qt-creator
Clang: Adjust singleton access style to more recent use.
Change-Id: I7d98f598b1c7f7b871a862ec121b83128d8b2752 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
@@ -36,7 +36,6 @@
|
|||||||
#include <coreplugin/icore.h>
|
#include <coreplugin/icore.h>
|
||||||
#include <coreplugin/progressmanager/progressmanager.h>
|
#include <coreplugin/progressmanager/progressmanager.h>
|
||||||
#include <cpptools/cppmodelmanagerinterface.h>
|
#include <cpptools/cppmodelmanagerinterface.h>
|
||||||
#include <projectexplorer/projectexplorer.h>
|
|
||||||
#include <projectexplorer/session.h>
|
#include <projectexplorer/session.h>
|
||||||
|
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
@@ -72,10 +71,8 @@ ClangIndexer::ClangIndexer()
|
|||||||
connect(m_clangIndexer, SIGNAL(indexingStarted(QFuture<void>)),
|
connect(m_clangIndexer, SIGNAL(indexingStarted(QFuture<void>)),
|
||||||
this, SLOT(onIndexingStarted(QFuture<void>)));
|
this, SLOT(onIndexingStarted(QFuture<void>)));
|
||||||
|
|
||||||
ProjectExplorer::ProjectExplorerPlugin *pe =
|
QObject *session = ProjectExplorer::SessionManager::instance();
|
||||||
ProjectExplorer::ProjectExplorerPlugin::instance();
|
|
||||||
|
|
||||||
ProjectExplorer::SessionManager *session = pe->session();
|
|
||||||
connect(session, SIGNAL(aboutToLoadSession(QString)),
|
connect(session, SIGNAL(aboutToLoadSession(QString)),
|
||||||
this, SLOT(onAboutToLoadSession(QString)));
|
this, SLOT(onAboutToLoadSession(QString)));
|
||||||
connect(session, SIGNAL(sessionLoaded(QString)),
|
connect(session, SIGNAL(sessionLoaded(QString)),
|
||||||
|
|||||||
Reference in New Issue
Block a user