aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/artifact.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/buildgraph/artifact.h')
-rw-r--r--src/lib/corelib/buildgraph/artifact.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/artifact.h b/src/lib/corelib/buildgraph/artifact.h
index 0381752a9..4d2a20086 100644
--- a/src/lib/corelib/buildgraph/artifact.h
+++ b/src/lib/corelib/buildgraph/artifact.h
@@ -130,7 +130,7 @@ private:
template<> inline QString Set<Artifact *>::toString(Artifact * const &artifact) const
{
- return artifact->filePath();
+ return artifact ? artifact->filePath() : QLatin1String("<null>");
}
template<> inline const void *uniqueAddress(const Artifact *a)
{