Skip to content
Snippets Groups Projects
Commit 63a0afb5 authored by ck's avatar ck
Browse files

Maemo: Fix compilation error.

parent 4ab3e05a
No related merge requests found
...@@ -33,15 +33,15 @@ MaemoDeployStepWidget::~MaemoDeployStepWidget() ...@@ -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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment