aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/timestampsupdater.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-04-17 12:22:32 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2014-04-17 13:30:54 +0200
commitc9eb23a26d693da232f1ab96c23797f35ad16305 (patch)
tree5324375402d52c093a3f2e8b8add9b61892a20aa /src/lib/corelib/buildgraph/timestampsupdater.cpp
parentc2664b879d8aedf82e62b2f389ce107e18168235 (diff)
API: Do not present all root artifacts as target artifacts.
E.g. Transformer outputs are roots, but not target artifacts. Task-number: QBS-557 Change-Id: Ia2ab5567344911b0751deed465722deb182e4aaf Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/corelib/buildgraph/timestampsupdater.cpp')
-rw-r--r--src/lib/corelib/buildgraph/timestampsupdater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/timestampsupdater.cpp b/src/lib/corelib/buildgraph/timestampsupdater.cpp
index 2ba6bc8ee..25ee1aac5 100644
--- a/src/lib/corelib/buildgraph/timestampsupdater.cpp
+++ b/src/lib/corelib/buildgraph/timestampsupdater.cpp
@@ -54,7 +54,7 @@ public:
// For target artifacts, we have to update the on-disk timestamp, because
// the executor will look at it.
- foreach (Artifact * const targetArtifact, product->buildData->targetArtifacts()) {
+ foreach (Artifact * const targetArtifact, product->targetArtifacts()) {
if (FileInfo(targetArtifact->filePath()).exists())
QFile(targetArtifact->filePath()).open(QIODevice::WriteOnly | QIODevice::Append);
}