forked from qt-creator/qt-creator
ProjectExplorer: Use Utils::FileName for Runnable::executable
Change-Id: I584bc18aa19a4c9886af7b13e95052dfd4350b34 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -368,6 +368,5 @@ QVector<QObject *> AutotestPlugin::createTestObjects() const
|
||||
|
||||
bool ChoicePair::matches(const ProjectExplorer::RunConfiguration *rc) const
|
||||
{
|
||||
return rc ? (rc->displayName() == displayName && rc->runnable().executable == executable)
|
||||
: false;
|
||||
return rc && rc->displayName() == displayName && rc->runnable().executable.toString() == executable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user