forked from qt-creator/qt-creator
ProjectExplorer: Fix ToolChain::isAutoDetected()
Amends d116559cd8.
Fixes: QTCREATORBUG-24545
Change-Id: I3a6c198a6ef2db91c4c3eb75721657e0c491e665
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user