forked from qt-creator/qt-creator
Android: Rework Create AVD dialog
Filter the list of api levels to only show those that can be created. Change-Id: I7aaaa58324ca44176e39982cda29d746011fa346 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
@@ -160,7 +160,9 @@ void AndroidDeployQtStep::ctor()
|
||||
m_verbose = false;
|
||||
|
||||
// will be overwriten by settings if the user choose something different
|
||||
m_buildTargetSdk = AndroidConfigurations::currentConfig().highestAndroidSdk();
|
||||
SdkPlatform sdk = AndroidConfigurations::currentConfig().highestAndroidSdk();
|
||||
if (sdk.apiLevel > 0)
|
||||
m_buildTargetSdk = QLatin1String("android-") + QString::number(sdk.apiLevel);
|
||||
|
||||
connect(project(), SIGNAL(proFilesEvaluated()),
|
||||
this, SLOT(updateInputFile()));
|
||||
|
||||
Reference in New Issue
Block a user