Commit 04948228 authored by Fawzi Mohamed's avatar Fawzi Mohamed
Browse files

ios: fix update of executable path in the UI



We now update after the profile has parsed, not when it is changed.

Change-Id: I70bf9bed85c77677d0ece0d7b99dff590a9e4d47
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
parent cc6dd543
......@@ -137,8 +137,10 @@ void IosRunConfiguration::proFileUpdated(QmakeProjectManager::QmakeProFileNode *
return;
m_parseSuccess = success;
m_parseInProgress = parseInProgress;
if (success && !parseInProgress)
if (success && !parseInProgress) {
updateDisplayNames();
emit localExecutableChanged();
}
enabledCheck();
}
......@@ -374,7 +376,7 @@ IosRunConfigurationWidget::IosRunConfigurationWidget(IosRunConfiguration *runCon
SLOT(setDeviceTypeIndex(int)));
connect(m_ui->argumentsLineEdit, SIGNAL(editingFinished()),
SLOT(argumentsLineEditTextEdited()));
connect(runConfiguration->target(), SIGNAL(buildDirectoryChanged()),
connect(runConfiguration, SIGNAL(localExecutableChanged()),
SLOT(updateValues()));
}
......
......@@ -88,6 +88,8 @@ protected:
private slots:
void proFileUpdated(QmakeProjectManager::QmakeProFileNode *pro, bool success, bool parseInProgress);
void deviceChanges();
signals:
void localExecutableChanged();
private:
void init();
void enabledCheck();
......
Supports Markdown
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