aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/customtoolchain.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@theqtcompany.com>2015-07-07 15:37:50 +0200
committerTobias Hunger <tobias.hunger@theqtcompany.com>2015-07-14 14:44:07 +0000
commitc275dac0843d52e5743d0c8b719323fadf6d312a (patch)
tree6c40f5946adb804a065308f49167fc2b24315673 /src/plugins/projectexplorer/customtoolchain.cpp
parente6d1141e1e524cce1bb43a1a859bfbd5441c02d8 (diff)
Rename toolchain type constants in ProjectExplorer
Change-Id: I56f5b7373846bb091456c050eb1ff3495ca2dd72 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/customtoolchain.cpp')
-rw-r--r--src/plugins/projectexplorer/customtoolchain.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/customtoolchain.cpp b/src/plugins/projectexplorer/customtoolchain.cpp
index 87a27d2a3b..bf14b14cb4 100644
--- a/src/plugins/projectexplorer/customtoolchain.cpp
+++ b/src/plugins/projectexplorer/customtoolchain.cpp
@@ -78,7 +78,7 @@ static const char messageCapKeyC[] = "ProjectExplorer.CustomToolChain.MessageCap
// --------------------------------------------------------------------------
CustomToolChain::CustomToolChain(Detection d) :
- ToolChain(Constants::CUSTOM_TOOLCHAIN_ID, d),
+ ToolChain(Constants::CUSTOM_TOOLCHAIN_TYPEID, d),
m_outputParser(Gcc)
{ }
@@ -372,7 +372,7 @@ namespace Internal {
CustomToolChainFactory::CustomToolChainFactory()
{
- setTypeId(Constants::CUSTOM_TOOLCHAIN_ID);
+ setTypeId(Constants::CUSTOM_TOOLCHAIN_TYPEID);
setDisplayName(tr("Custom"));
}
@@ -389,7 +389,7 @@ ToolChain *CustomToolChainFactory::create()
// Used by the ToolChainManager to restore user-generated tool chains
bool CustomToolChainFactory::canRestore(const QVariantMap &data)
{
- return typeIdFromMap(data) == Constants::CUSTOM_TOOLCHAIN_ID;
+ return typeIdFromMap(data) == Constants::CUSTOM_TOOLCHAIN_TYPEID;
}
ToolChain *CustomToolChainFactory::restore(const QVariantMap &data)