From 83e573f2ece5902454b19aab8ecac4f4ca4b91e5 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 3 Aug 2012 15:24:33 +0200 Subject: use new id comparison operators to reduce line noise and save cycles Change-Id: I2e7d81a4efb75877901d29964df4f71314e951b4 Reviewed-by: Eike Ziller --- src/plugins/qt4projectmanager/qt-desktop/qt4runconfiguration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/qt4projectmanager/qt-desktop') diff --git a/src/plugins/qt4projectmanager/qt-desktop/qt4runconfiguration.cpp b/src/plugins/qt4projectmanager/qt-desktop/qt4runconfiguration.cpp index fe7364dc59..ebbc882c79 100644 --- a/src/plugins/qt4projectmanager/qt-desktop/qt4runconfiguration.cpp +++ b/src/plugins/qt4projectmanager/qt-desktop/qt4runconfiguration.cpp @@ -812,7 +812,7 @@ bool Qt4RunConfigurationFactory::canHandle(ProjectExplorer::Target *t) const if (!qobject_cast(t->project())) return false; Core::Id devType = ProjectExplorer::DeviceTypeProfileInformation::deviceTypeId(t->profile()); - return devType == Core::Id(ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE); + return devType == ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE; } QList Qt4RunConfigurationFactory::runConfigurationsForNode(ProjectExplorer::Target *t, ProjectExplorer::Node *n) -- cgit v1.2.1