forked from qt-creator/qt-creator
BlackBerry: Make current project behave like it used to
ProjectTree::currentProject was changed, update the code to get the old behavior. That behavior is most likely not the best to have, but that is for another patch:-) Change-Id: I8c84825443b8383f738c237ec67332e62199fe5e Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
#include <projectexplorer/buildsteplist.h>
|
||||
#include <projectexplorer/project.h>
|
||||
#include <projectexplorer/projecttree.h>
|
||||
#include <projectexplorer/session.h>
|
||||
#include <projectexplorer/target.h>
|
||||
#include <projectexplorer/buildconfiguration.h>
|
||||
#include <qmakeprojectmanager/qmakenodes.h>
|
||||
@@ -67,6 +68,8 @@ BarDescriptorFileNodeManager::BarDescriptorFileNodeManager(QObject *parent)
|
||||
{
|
||||
connect(ProjectExplorer::ProjectTree::instance(), &ProjectExplorer::ProjectTree::currentProjectChanged,
|
||||
this, &BarDescriptorFileNodeManager::setCurrentProject);
|
||||
connect(ProjectExplorer::SessionManager::instance(), &ProjectExplorer::SessionManager::startupProjectChanged,
|
||||
this, &BarDescriptorFileNodeManager::setCurrentProject);
|
||||
}
|
||||
|
||||
void BarDescriptorFileNodeManager::setCurrentProject(ProjectExplorer::Project *project)
|
||||
|
Reference in New Issue
Block a user