Maemo: Move remote executable GUI update to its own slot.

This commit is contained in:
ck
2010-08-05 12:06:37 +02:00
parent 5cdbf62d60
commit a7695496b4
2 changed files with 6 additions and 1 deletions

View File

@@ -129,7 +129,7 @@ void MaemoRunConfigurationWidget::addGenericWidgets(QVBoxLayout *mainLayout)
connect(m_runConfiguration, SIGNAL(targetInformationChanged()), this,
SLOT(updateTargetInformation()));
connect(m_runConfiguration->deployStep()->deployables(),
SIGNAL(modelsCreated()), this, SLOT(updateTargetInformation()));
SIGNAL(modelsCreated()), this, SLOT(handleDeploySpecsChanged()));
handleCurrentDeviceConfigChanged();
}
@@ -256,6 +256,10 @@ void MaemoRunConfigurationWidget::argumentsEdited(const QString &text)
void MaemoRunConfigurationWidget::updateTargetInformation()
{
m_localExecutableLabel->setText(m_runConfiguration->localExecutableFilePath());
}
void MaemoRunConfigurationWidget::handleDeploySpecsChanged()
{
m_remoteExecutableLabel->setText(m_runConfiguration->remoteExecutableFilePath());
}