Commit 9283d7d5 authored by Robert Loehning's avatar Robert Loehning Committed by Daniel Teske

Compile fix

Change-Id: Ic323f2fc1274128edf367305f690807eea73e366
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 9ad3362f
......@@ -271,11 +271,11 @@ QString AndroidConfigurations::androidToolPath() const
#ifdef Q_OS_WIN32
// I want to switch from using android.bat to using an executable. All it really does is call
// Java and I've made some progress on it. So if android.exe exists, return that instead.
QFileInfo fi(m_config.SDKLocation + QLatin1String("/tools/android"ANDROID_EXE_SUFFIX));
QFileInfo fi(m_config.sdkLocation + QLatin1String("/tools/android"ANDROID_EXE_SUFFIX));
if (fi.exists())
return m_config.SDKLocation + QString("/tools/android"ANDROID_EXE_SUFFIX);
return m_config.sdkLocation + QString("/tools/android"ANDROID_EXE_SUFFIX);
else
return m_config.SDKLocation + QLatin1String("/tools/android"ANDROID_BAT_SUFFIX);
return m_config.sdkLocation + QLatin1String("/tools/android"ANDROID_BAT_SUFFIX);
#else
return m_config.sdkLocation + QLatin1String("/tools/android"ANDROID_EXE_SUFFIX);
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment