summaryrefslogtreecommitdiff
path: root/src/plugins/qt4projectmanager/qt-desktop
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qt4projectmanager/qt-desktop')
-rw-r--r--src/plugins/qt4projectmanager/qt-desktop/qt4runconfiguration.cpp2
1 files changed, 1 insertions, 1 deletions
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<Qt4Project *>(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<ProjectExplorer::RunConfiguration *> Qt4RunConfigurationFactory::runConfigurationsForNode(ProjectExplorer::Target *t, ProjectExplorer::Node *n)