diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-07-07 15:37:50 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2015-07-14 14:44:07 +0000 |
commit | c275dac0843d52e5743d0c8b719323fadf6d312a (patch) | |
tree | 6c40f5946adb804a065308f49167fc2b24315673 /src/plugins/projectexplorer/customtoolchain.cpp | |
parent | e6d1141e1e524cce1bb43a1a859bfbd5441c02d8 (diff) | |
download | qt-creator-c275dac0843d52e5743d0c8b719323fadf6d312a.tar.gz |
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.cpp | 6 |
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) |