Commit 03e7037a authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Android: Fix compiler warning

Comparison of bool and int

Change-Id: Iec471ce393442c4d75dffce4b3ddc9d275c17e67
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 075a069d
......@@ -387,7 +387,7 @@ bool AndroidManager::setUseLocalLibs(ProjectExplorer::Target *target, bool useLo
bool changedManifest = false;
while (!metadataElem.isNull()) {
if (metadataElem.attribute(QLatin1String("android:name")) == QLatin1String("android.app.use_local_qt_libs")) {
if (metadataElem.attribute(QLatin1String("android:value")).toInt() != useLocalLibs) {
if (metadataElem.attribute(QLatin1String("android:value")).toInt() != int(useLocalLibs)) {
metadataElem.setAttribute(QLatin1String("android:value"), int(useLocalLibs));
changedManifest = true;
}
......
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