forked from qt-creator/qt-creator
Kit: Replace operator ==
Change-Id: I4f211e118bc5cb58a7adf1f6d814105905f964f8 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -280,6 +280,18 @@ void Kit::removeKey(const Core::Id &key)
|
||||
kitUpdated();
|
||||
}
|
||||
|
||||
bool Kit::isDataEqual(const Kit *other) const
|
||||
{
|
||||
return d->m_data == other->d->m_data;
|
||||
}
|
||||
|
||||
bool Kit::isEqual(const Kit *other) const
|
||||
{
|
||||
return isDataEqual(other)
|
||||
&& d->m_iconPath == other->d->m_iconPath
|
||||
&& d->m_displayName == other->d->m_displayName;
|
||||
}
|
||||
|
||||
QVariantMap Kit::toMap() const
|
||||
{
|
||||
QVariantMap data;
|
||||
@@ -296,11 +308,6 @@ QVariantMap Kit::toMap() const
|
||||
return data;
|
||||
}
|
||||
|
||||
bool Kit::operator==(const Kit &other) const
|
||||
{
|
||||
return d->m_data == other.d->m_data;
|
||||
}
|
||||
|
||||
void Kit::addToEnvironment(Utils::Environment &env) const
|
||||
{
|
||||
QList<KitInformation *> infoList = KitManager::instance()->kitInformation();
|
||||
|
||||
Reference in New Issue
Block a user