Commit a7695496 authored by ck's avatar ck
Browse files

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

parent 5cdbf62d
......@@ -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());
}
......
......@@ -88,6 +88,7 @@ private slots:
void systemEnvironmentChanged();
void userEnvironmentChangesChanged(const QList<ProjectExplorer::EnvironmentItem> &userChanges);
void handleRemoteMountsChanged();
void handleDeploySpecsChanged();
private:
void addGenericWidgets(QVBoxLayout *mainLayout);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment