Android: Fix opening of package location on Windows

Utils::FileName::append appends a slash, so appending a string
which starts with a slash leads to a double slash.

And explorer.exe doesn't like this double slash.

Change-Id: I2549aca9ec51fad092f006a16f092a02c3a83149
Task-number: QTCREATORBUG-14568
Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
Daniel Teske
2015-07-21 12:52:51 +02:00
parent 4c2ab742f1
commit 6c7ab912a6

View File

@@ -48,9 +48,9 @@ Utils::FileName Android::AndroidQtSupport::apkPath(ProjectExplorer::Target *targ
QString apkPath;
if (buildApkStep->useGradle())
apkPath = QLatin1String("/build/outputs/apk/android-build-");
apkPath = QLatin1String("build/outputs/apk/android-build-");
else
apkPath = QLatin1String("/bin/QtApp-");
apkPath = QLatin1String("bin/QtApp-");
if (buildApkStep->signPackage())
apkPath += QLatin1String("release.apk");
else