Fix searchInPath

Change-Id: I38f27a36891210d99f576fd7f57cd44854a14d8a
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
Daniel Teske
2012-09-11 16:38:06 +02:00
parent d339637701
commit 69697c5aff

View File

@@ -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