aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/runconfiguration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/runconfiguration.h')
-rw-r--r--src/plugins/projectexplorer/runconfiguration.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/runconfiguration.h b/src/plugins/projectexplorer/runconfiguration.h
index 01fe5b9af4..225c04bf43 100644
--- a/src/plugins/projectexplorer/runconfiguration.h
+++ b/src/plugins/projectexplorer/runconfiguration.h
@@ -173,6 +173,8 @@ public:
bool equals(const std::unique_ptr<ClonableConcept> &other) const override
{
+ if (!other.get())
+ return false;
if (other->typeId() != typeId())
return false;
auto that = static_cast<const ClonableModel<T> *>(other.get());