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:
Orgad Shaneh
2016-10-30 12:01:38 +02:00
committed by Orgad Shaneh
parent 75c5afef48
commit 1d6d799d22

View File

@@ -202,7 +202,9 @@ bool ToolChain::operator == (const ToolChain &tc) const
return true; return true;
// We ignore displayname // We ignore displayname
return typeId() == tc.typeId() && isAutoDetected() == tc.isAutoDetected(); return typeId() == tc.typeId()
&& isAutoDetected() == tc.isAutoDetected()
&& language() == tc.language();
} }
/*! /*!