forked from qt-creator/qt-creator
Qnx: Use new Core::Id interfaces
Less conversions, shorter code. Change-Id: I7c7aba1e7ee3096ea436250520e626259f519a38 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -97,7 +97,7 @@ bool QnxRunControlFactory::canRun(RunConfiguration *runConfiguration, RunMode mo
|
||||
return false;
|
||||
|
||||
if (!runConfiguration->isEnabled()
|
||||
|| !runConfiguration->id().toString().startsWith(QLatin1String(Constants::QNX_QNX_RUNCONFIGURATION_PREFIX))) {
|
||||
|| !runConfiguration->id().name().startsWith(Constants::QNX_QNX_RUNCONFIGURATION_PREFIX)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user