forked from qt-creator/qt-creator
Android: Hide bundle qt option for Qt4
Task-number: QTCREATORBUG-9408 Change-Id: Ie86deea4b453d3ab3ebcf359c3e0b321a2cba33e Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
@@ -47,6 +47,21 @@ AndroidDeployStepWidget::AndroidDeployStepWidget(AndroidDeployStep *step) :
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
deployOptionsChanged();
|
||||
|
||||
connect(ui->ministroOption, SIGNAL(clicked()), SLOT(setMinistro()));
|
||||
connect(ui->temporaryQtOption, SIGNAL(clicked()), SLOT(setDeployLocalQtLibs()));
|
||||
connect(ui->bundleQtOption, SIGNAL(clicked()), SLOT(setBundleQtLibs()));
|
||||
|
||||
connect(ui->chooseButton, SIGNAL(clicked()), SLOT(setQASIPackagePath()));
|
||||
connect(ui->cleanLibsPushButton, SIGNAL(clicked()), SLOT(cleanLibsOnDevice()));
|
||||
|
||||
connect(m_step, SIGNAL(deployOptionsChanged()),
|
||||
this, SLOT(deployOptionsChanged()));
|
||||
}
|
||||
|
||||
void AndroidDeployStepWidget::deployOptionsChanged()
|
||||
{
|
||||
switch (m_step->deployAction()) {
|
||||
case AndroidDeployStep::NoDeploy:
|
||||
ui->ministroOption->setChecked(true);
|
||||
@@ -62,12 +77,7 @@ AndroidDeployStepWidget::AndroidDeployStepWidget(AndroidDeployStep *step) :
|
||||
break;
|
||||
}
|
||||
|
||||
connect(ui->ministroOption, SIGNAL(clicked()), SLOT(setMinistro()));
|
||||
connect(ui->temporaryQtOption, SIGNAL(clicked()), SLOT(setDeployLocalQtLibs()));
|
||||
connect(ui->bundleQtOption, SIGNAL(clicked()), SLOT(setBundleQtLibs()));
|
||||
|
||||
connect(ui->chooseButton, SIGNAL(clicked()), SLOT(setQASIPackagePath()));
|
||||
connect(ui->cleanLibsPushButton, SIGNAL(clicked()), SLOT(cleanLibsOnDevice()));
|
||||
ui->bundleQtOption->setVisible(m_step->bundleQtOptionAvailable());
|
||||
}
|
||||
|
||||
AndroidDeployStepWidget::~AndroidDeployStepWidget()
|
||||
|
||||
Reference in New Issue
Block a user