forked from qt-creator/qt-creator
Fix searchInPath
Change-Id: I38f27a36891210d99f576fd7f57cd44854a14d8a Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -257,7 +257,7 @@ QString Environment::searchInPath(const QString &executable,
|
||||
if (executable.isEmpty())
|
||||
return QString();
|
||||
|
||||
QStringList execs;
|
||||
QStringList execs(exec);
|
||||
#ifdef Q_OS_WIN
|
||||
// Check all the executable extensions on windows:
|
||||
// PATHEXT is only used if the executable has no extension
|
||||
|
||||
Reference in New Issue
Block a user