forked from qt-creator/qt-creator
Add basic support for Qt Quick Test
This commit is contained in:
committed by
Christian Stenger
parent
85efa2c3c9
commit
0357b0e98b
@@ -224,7 +224,7 @@ static QString which(const QString &path, const QString &cmd)
|
||||
paths = path.split(QLatin1Char(':'));
|
||||
#endif
|
||||
|
||||
foreach (const QString p, paths) {
|
||||
foreach (const QString &p, paths) {
|
||||
const QString fName = p + QDir::separator() + cmd;
|
||||
QFileInfo fi(fName);
|
||||
if (fi.exists() && fi.isExecutable())
|
||||
|
||||
Reference in New Issue
Block a user