Android: Improve prior commit

Actually use the version variable that was defined prior to the line.

Amends: 0de09fe3a3

Change-Id: Ie05e1a4e1be0fa0729dd1de38fc6b5351d02d380
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Alessandro Portale
2021-11-03 19:27:04 +01:00
parent a8938f8916
commit d4efd4a369

View File

@@ -848,7 +848,7 @@ bool AndroidConfig::isValidNdk(const QString &ndkLocation) const
return false;
const QVersionNumber version = ndkVersion(ndkPath);
if (ndkVersion(ndkPath).isNull())
if (version.isNull())
return false;
const FilePath ndkPlatformsDir = ndkPath.pathAppended("platforms");