forked from qt-creator/qt-creator
ToolChain: Compare also by language
Otherwise C/C++ with the same ABI are detected as duplicates. Change-Id: I99090b4cc776047b1ecb958242d0b4f5ecec5f0a Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
75c5afef48
commit
1d6d799d22
@@ -202,7 +202,9 @@ bool ToolChain::operator == (const ToolChain &tc) const
|
||||
return true;
|
||||
|
||||
// We ignore displayname
|
||||
return typeId() == tc.typeId() && isAutoDetected() == tc.isAutoDetected();
|
||||
return typeId() == tc.typeId()
|
||||
&& isAutoDetected() == tc.isAutoDetected()
|
||||
&& language() == tc.language();
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Reference in New Issue
Block a user