forked from qt-creator/qt-creator
ProjectExplorer: Fix copying of RunConfigurationAspects
Moving aspect data closer to real Value semantics fixes
the regression introduced by 890c1906e.
Task-number: QTCREATORBUG-19186
Task-number: QTCREATORBUG-19192
Change-Id: Ieaeef3995ae06a817f266c1e2514f9e5793bd4e8
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -167,7 +167,6 @@ public:
|
||||
private:
|
||||
friend class ProjectExplorer::IRunConfigurationFactory;
|
||||
void initialize(Core::Id id);
|
||||
void copyFrom(const PythonRunConfiguration *source);
|
||||
|
||||
QString defaultDisplayName() const;
|
||||
|
||||
@@ -198,13 +197,6 @@ void PythonRunConfiguration::initialize(Core::Id id)
|
||||
m_interpreter = exec.isEmpty() ? "python" : exec;
|
||||
}
|
||||
|
||||
void PythonRunConfiguration::copyFrom(const PythonRunConfiguration *source)
|
||||
{
|
||||
RunConfiguration::copyFrom(source);
|
||||
m_interpreter = source->interpreter();
|
||||
m_mainScript = source->m_mainScript;
|
||||
}
|
||||
|
||||
QVariantMap PythonRunConfiguration::toMap() const
|
||||
{
|
||||
QVariantMap map(RunConfiguration::toMap());
|
||||
|
||||
Reference in New Issue
Block a user