Maemo: Fix compilation error.

This commit is contained in:
ck
2010-07-16 18:06:17 +02:00
parent 4ab3e05a12
commit 63a0afb5aa

View File

@@ -33,15 +33,15 @@ MaemoDeployStepWidget::~MaemoDeployStepWidget()
void MaemoDeployStepWidget::init()
{
connectDeviceConfigModel();
handleDeviceConfigModelChanged();
connect(m_step->buildConfiguration()->target(),
SIGNAL(activeRunConfigurationChanged(ProjectExplorer::RunConfiguration*)),
this, SLOT(connectDeviceConfigModel()));
this, SLOT(handleDeviceConfigModelChanged()));
connect(ui->deviceConfigComboBox, SIGNAL(activated(int)), this,
SLOT(setCurrentDeviceConfig(int)));
}
void MaemoDeployStepWidget::connectDeviceConfigModel()
void MaemoDeployStepWidget::handleDeviceConfigModelChanged()
{
const MaemoDeviceConfigListModel * const oldModel
= qobject_cast<MaemoDeviceConfigListModel *>(ui->deviceConfigComboBox->model());