forked from qt-creator/qt-creator
ProjectExplorer: Implement RunConfiguration::do{Clone,Restore} in base
It's possible now. Change-Id: I49ed73312aea1627a9543890431e2e379e3fb3ec Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -166,7 +166,7 @@ public:
|
||||
|
||||
private:
|
||||
friend class ProjectExplorer::IRunConfigurationFactory;
|
||||
void initialize(Core::Id id);
|
||||
void initialize(Core::Id id) override;
|
||||
|
||||
QString defaultDisplayName() const;
|
||||
|
||||
@@ -326,16 +326,6 @@ public:
|
||||
|
||||
private:
|
||||
bool canHandle(Target *parent) const { return dynamic_cast<PythonProject *>(parent->project()); }
|
||||
|
||||
RunConfiguration *doCreate(Target *parent, Core::Id id) override
|
||||
{
|
||||
return createHelper<PythonRunConfiguration>(parent, id);
|
||||
}
|
||||
|
||||
RunConfiguration *doRestore(Target *parent, const QVariantMap &map) override
|
||||
{
|
||||
return createHelper<PythonRunConfiguration>(parent, idFromMap(map));
|
||||
}
|
||||
};
|
||||
|
||||
PythonProject::PythonProject(const FileName &fileName) :
|
||||
|
||||
Reference in New Issue
Block a user