aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/buildgraphloader.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2016-12-06 14:33:42 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2016-12-07 10:51:51 +0000
commit5ff288a9b564624d88c99048f6f4904881c040fc (patch)
tree418864393ca9f71ec6ef9ff6a3704276d974ba82 /src/lib/corelib/buildgraph/buildgraphloader.cpp
parent8e2d2afcd38c8e89b8e7c5329ee29e15f4e5d518 (diff)
Fix usage of restored Probes
We have to set these up per actual product, not per product name. The latter is not taking profile multiplexing into account. Change-Id: I359c7316f106b756aaee74a5f4b7050fbc4e2bf3 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src/lib/corelib/buildgraph/buildgraphloader.cpp')
-rw-r--r--src/lib/corelib/buildgraph/buildgraphloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/buildgraphloader.cpp b/src/lib/corelib/buildgraph/buildgraphloader.cpp
index 1cdaa90df..89eeca28a 100644
--- a/src/lib/corelib/buildgraph/buildgraphloader.cpp
+++ b/src/lib/corelib/buildgraph/buildgraphloader.cpp
@@ -258,7 +258,7 @@ void BuildGraphLoader::trackProjectChanges()
ldr.setProgressObserver(m_evalContext->observer());
QHash<QString, QList<ProbeConstPtr>> restoredProbes;
foreach (const auto restoredProduct, allRestoredProducts)
- restoredProbes.insert(restoredProduct->name, restoredProduct->probes);
+ restoredProbes.insert(restoredProduct->uniqueName(), restoredProduct->probes);
ldr.setOldProbes(restoredProbes);
m_result.newlyResolvedProject = ldr.loadProject(m_parameters);