diff options
author | Tobias Hunger <[email protected]> | 2019-10-08 12:54:08 +0200 |
---|---|---|
committer | Tobias Hunger <[email protected]> | 2019-10-08 14:20:24 +0000 |
commit | aa1cc54b3e558979805d85e37b36eb21deaae5b3 (patch) | |
tree | 11c280ffe41f572a920790c1ac1b1af7cd9cd666 /src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp | |
parent | 7f2f112a242d89e3c8f53a6a6fcd535439446433 (diff) |
BuildSystem: Fix move semantics of ParseGuard and related code
This avoids a spurious set of parsing started/finished signals.
Change-Id: I0c723f2a2ad679a5f6cffddf9f542ebc02192be8
Reviewed-by: Cristian Adam <[email protected]>
Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp')
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp index 2cc69e4c9ad..6e08d1dc6af 100644 --- a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp +++ b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp @@ -114,6 +114,7 @@ CMakeBuildSystem::~CMakeBuildSystem() bool CMakeBuildSystem::validateParsingContext(const ParsingContext &ctx) { + QTC_ASSERT(!m_currentContext.guard.guardsProject(), return false); return ctx.project && qobject_cast<CMakeBuildConfiguration *>(ctx.buildConfiguration); } |