forked from qt-creator/qt-creator
ProjectExplorer: Fix saving of modifiable ExecutableAspects
The settings key decides on saving, the underlying BaseStringAspect needs to know it. This only affected RemoteLinuxCustomRunConfig so far. Change-Id: Ic4af9fa752b0b1ae107779d88978495e511cf98c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -554,6 +554,12 @@ void ExecutableAspect::setExecutable(const FileName &executable)
|
||||
m_executable.setValue(executable.toString());
|
||||
}
|
||||
|
||||
void ExecutableAspect::setSettingsKey(const QString &key)
|
||||
{
|
||||
IRunConfigurationAspect::setSettingsKey(key);
|
||||
m_executable.setSettingsKey(key);
|
||||
}
|
||||
|
||||
void ExecutableAspect::fromMap(const QVariantMap &map)
|
||||
{
|
||||
m_executable.fromMap(map);
|
||||
|
@@ -230,6 +230,7 @@ public:
|
||||
Utils::FileName executable() const;
|
||||
void setExecutable(const Utils::FileName &executable);
|
||||
|
||||
void setSettingsKey(const QString &key);
|
||||
void makeOverridable(const QString &overridingKey, const QString &useOverridableKey);
|
||||
void addToConfigurationLayout(QFormLayout *layout);
|
||||
void setLabelText(const QString &labelText);
|
||||
|
Reference in New Issue
Block a user