RemoteLinux: Add RemoteLinuxRunConfiguration::doAdditionalSetup()

This became necessary after commit b1dbd7e358, because now run
configurations are created after parsing has finished, so they will not
initially receive the signals that cause them to update their target
information.

Fixes: QTCREATORBUG-23315
Change-Id: I761e5a5bd4ed6015037f562c10792fe16147739a
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2019-12-10 10:59:20 +01:00
parent 984938a451
commit b526d789cf
2 changed files with 7 additions and 2 deletions

View File

@@ -78,6 +78,11 @@ RemoteLinuxRunConfiguration::RemoteLinuxRunConfiguration(Target *target, Core::I
this, &RemoteLinuxRunConfiguration::updateTargetInformation);
}
void RemoteLinuxRunConfiguration::doAdditionalSetup(const RunConfigurationCreationInfo &)
{
updateTargetInformation();
}
Runnable RemoteLinuxRunConfiguration::runnable() const
{
Runnable r = RunConfiguration::runnable();

View File

@@ -40,10 +40,10 @@ public:
RemoteLinuxRunConfiguration(ProjectExplorer::Target *target, Core::Id id);
static const char *IdPrefix;
protected:
private:
void doAdditionalSetup(const ProjectExplorer::RunConfigurationCreationInfo &) override;
ProjectExplorer::Runnable runnable() const override;
private:
void updateTargetInformation();
};