Commit 01592d60 authored by dt's avatar dt
Browse files

FlatModel: forgotten change + compile on windows

parent e3093103
......@@ -145,7 +145,7 @@ FlatModel::FlatModel(SessionNode *rootNode, QObject *parent)
NodesWatcher *watcher = new NodesWatcher(this);
m_rootNode->registerWatcher(watcher);
connect(watcher, SIGNAL(aboutToHasBuildTargetsChanged(ProjectExplorer::ProjectNode*)),
connect(watcher, SIGNAL(aboutToChangeHasBuildTargets(ProjectExplorer::ProjectNode*)),
this, SLOT(aboutToHasBuildTargetsChanged(ProjectExplorer::ProjectNode*)));
connect(watcher, SIGNAL(hasBuildTargetsChanged(ProjectExplorer::ProjectNode*)),
......
......@@ -1481,7 +1481,7 @@ void Qt4ProFileNode::applyEvaluate(bool parseResult, bool async)
Qt4ProjectType oldType = m_projectType;
// probably all subfiles/projects have changed anyway ...
clear();
bool changesHasBuildTargets = hasBuildTargets() xor hasBuildTargets(projectType);
bool changesHasBuildTargets = hasBuildTargets() ^ hasBuildTargets(projectType);
if (changesHasBuildTargets)
aboutToChangeHasBuildTargets();
......
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