Commit 34711cdc authored by Tobias Hunger's avatar Tobias Hunger

QBS: Remove mostly useless member variable

Change-Id: Ia5696fa2cf91130acb8c89ff95be0fc42adb22bd
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 11bc9882
......@@ -90,7 +90,6 @@ class QbsFeatureProvider : public Core::IFeatureProvider
QbsProjectManagerPlugin::QbsProjectManagerPlugin() :
m_manager(0),
m_projectExplorer(0),
m_selectedProject(0),
m_selectedNode(0),
m_currentProject(0),
......@@ -104,7 +103,6 @@ bool QbsProjectManagerPlugin::initialize(const QStringList &arguments, QString *
Q_UNUSED(errorMessage);
m_manager = new QbsManager(this);
m_projectExplorer = ProjectExplorer::ProjectExplorerPlugin::instance();
const Core::Context projectContext(::QbsProjectManager::Constants::PROJECT_ID);
const Core::Context globalcontext(Core::Constants::C_GLOBAL);
......@@ -197,7 +195,8 @@ bool QbsProjectManagerPlugin::initialize(const QStringList &arguments, QString *
connect(m_buildSubproject, SIGNAL(triggered()), this, SLOT(buildSubproject()));
// Connect
connect(m_projectExplorer, SIGNAL(currentNodeChanged(ProjectExplorer::Node*,ProjectExplorer::Project*)),
connect(ProjectExplorer::ProjectExplorerPlugin::instance(),
SIGNAL(currentNodeChanged(ProjectExplorer::Node*,ProjectExplorer::Project*)),
this, SLOT(nodeSelectionChanged(ProjectExplorer::Node*,ProjectExplorer::Project*)));
connect(BuildManager::instance(), SIGNAL(buildStateChanged(ProjectExplorer::Project*)),
......
......@@ -96,7 +96,6 @@ private:
void buildProducts(QbsProject *project, const QStringList &products);
QbsManager *m_manager;
ProjectExplorer::ProjectExplorerPlugin *m_projectExplorer;
QAction *m_reparseQbs;
QAction *m_reparseQbsCtx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment