summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/customtoolchain.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-05-08 19:03:15 +0200
committerhjk <hjk@qt.io>2019-05-10 14:38:45 +0000
commitd116559cd86db6e1cf4fde25eab99daa0ebd9caf (patch)
tree946045bd652768e3b807392c5c6f9a17ff679ca7 /src/plugins/projectexplorer/customtoolchain.h
parent33c4dd83836ee4b3f52458ef7c6241cf35110630 (diff)
downloadqt-creator-d116559cd86db6e1cf4fde25eab99daa0ebd9caf.tar.gz
ProjectExplorer: Drop Detection argument from ToolChain constructor
This was used wildly inconsistently. Use a setter instead in circumstances where the context is reasonably clear. The assumption is that this will always be done at some time in all code paths. Use a new 'Uninitialized' value to avoid triggering the first update. Change-Id: I82c38cb9da3ccdbd8fbae8beefcbfa0e559ff794 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/customtoolchain.h')
-rw-r--r--src/plugins/projectexplorer/customtoolchain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/customtoolchain.h b/src/plugins/projectexplorer/customtoolchain.h
index 5720fa06f4..27a53fd322 100644
--- a/src/plugins/projectexplorer/customtoolchain.h
+++ b/src/plugins/projectexplorer/customtoolchain.h
@@ -117,7 +117,7 @@ protected:
CustomToolChain(const CustomToolChain &) = default;
private:
- explicit CustomToolChain(Detection d);
+ CustomToolChain();
Utils::FileName m_compilerCommand;
Utils::FileName m_makeCommand;