forked from qt-creator/qt-creator
Maemo: Fix compilation error.
This commit is contained in:
@@ -33,15 +33,15 @@ MaemoDeployStepWidget::~MaemoDeployStepWidget()
|
|||||||
|
|
||||||
void MaemoDeployStepWidget::init()
|
void MaemoDeployStepWidget::init()
|
||||||
{
|
{
|
||||||
connectDeviceConfigModel();
|
handleDeviceConfigModelChanged();
|
||||||
connect(m_step->buildConfiguration()->target(),
|
connect(m_step->buildConfiguration()->target(),
|
||||||
SIGNAL(activeRunConfigurationChanged(ProjectExplorer::RunConfiguration*)),
|
SIGNAL(activeRunConfigurationChanged(ProjectExplorer::RunConfiguration*)),
|
||||||
this, SLOT(connectDeviceConfigModel()));
|
this, SLOT(handleDeviceConfigModelChanged()));
|
||||||
connect(ui->deviceConfigComboBox, SIGNAL(activated(int)), this,
|
connect(ui->deviceConfigComboBox, SIGNAL(activated(int)), this,
|
||||||
SLOT(setCurrentDeviceConfig(int)));
|
SLOT(setCurrentDeviceConfig(int)));
|
||||||
}
|
}
|
||||||
|
|
||||||
void MaemoDeployStepWidget::connectDeviceConfigModel()
|
void MaemoDeployStepWidget::handleDeviceConfigModelChanged()
|
||||||
{
|
{
|
||||||
const MaemoDeviceConfigListModel * const oldModel
|
const MaemoDeviceConfigListModel * const oldModel
|
||||||
= qobject_cast<MaemoDeviceConfigListModel *>(ui->deviceConfigComboBox->model());
|
= qobject_cast<MaemoDeviceConfigListModel *>(ui->deviceConfigComboBox->model());
|
||||||
|
|||||||
Reference in New Issue
Block a user