Commit 67a62183 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

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: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 20e4f62e
......@@ -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)
......
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