forked from qt-creator/qt-creator
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user