aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/toolchain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/toolchain.cpp')
-rw-r--r--src/plugins/projectexplorer/toolchain.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/toolchain.cpp b/src/plugins/projectexplorer/toolchain.cpp
index 54bf8bf40a..b344f32562 100644
--- a/src/plugins/projectexplorer/toolchain.cpp
+++ b/src/plugins/projectexplorer/toolchain.cpp
@@ -155,6 +155,11 @@ void ToolChain::setDisplayName(const QString &name)
toolChainUpdated();
}
+bool ToolChain::isAutoDetected() const
+{
+ return detection() == AutoDetection || detection() == AutoDetectionFromSdk;
+}
+
ToolChain::Detection ToolChain::detection() const
{
return d->m_detection;