forked from qt-creator/qt-creator
use new id comparison operators to reduce line noise and save cycles
Change-Id: I2e7d81a4efb75877901d29964df4f71314e951b4 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -173,9 +173,9 @@ bool BuildConfiguration::fromMap(const QVariantMap &map)
|
||||
delete list;
|
||||
return false;
|
||||
}
|
||||
if (list->id() == Core::Id(Constants::BUILDSTEPS_BUILD))
|
||||
if (list->id() == Constants::BUILDSTEPS_BUILD)
|
||||
list->setDefaultDisplayName(tr("Build"));
|
||||
else if (list->id() == Core::Id(Constants::BUILDSTEPS_CLEAN))
|
||||
else if (list->id() == Constants::BUILDSTEPS_CLEAN)
|
||||
list->setDefaultDisplayName(tr("Clean"));
|
||||
m_stepLists.append(list);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user