diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2016-07-12 12:20:06 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2016-07-14 15:33:33 +0000 |
commit | 1304b250ebf06f1dcc4f45b5e5fe63f616cbb992 (patch) | |
tree | 40ffc2a9c11f5e47b7ea2d58a4df54981e537079 /src/plugins/projectexplorer/customtoolchain.cpp | |
parent | dbf5f7435275989f3e191b271d7b7e491b9c1335 (diff) |
ToolChain: Make sure all ToolChains have a language set
* Add code to toolchains
* Assert that this is the case in the toolchainmanager
Change-Id: I82452689e83279fd9d1afb3140b0070bef9b6cd8
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/customtoolchain.cpp')
-rw-r--r-- | src/plugins/projectexplorer/customtoolchain.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/customtoolchain.cpp b/src/plugins/projectexplorer/customtoolchain.cpp index e14562ca1b..c715e8d6ef 100644 --- a/src/plugins/projectexplorer/customtoolchain.cpp +++ b/src/plugins/projectexplorer/customtoolchain.cpp @@ -88,7 +88,9 @@ static const char messageCapKeyC[] = "ProjectExplorer.CustomToolChain.MessageCap CustomToolChain::CustomToolChain(Detection d) : ToolChain(Constants::CUSTOM_TOOLCHAIN_TYPEID, d), m_outputParser(Gcc) -{ } +{ + setLanguage(Language::Cxx); +} QString CustomToolChain::typeDisplayName() const { |