forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user