Python: optimize loading projects

Loading .pyprojects file now doesnt add a target for the default kit but
results in showing the target setup page which is filtered for usable
kits.

Change-Id: I4c407960a90a27457314281b79dc8878510eca80
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2023-12-01 12:25:22 +01:00
parent 7a6d99a9f6
commit d5ddf391c1
2 changed files with 8 additions and 12 deletions

View File

@@ -37,10 +37,7 @@ class PythonProject : public ProjectExplorer::Project
public:
explicit PythonProject(const Utils::FilePath &filename);
bool needsConfiguration() const final { return false; }
private:
RestoreResult fromMap(const Utils::Store &map, QString *errorMessage) override;
ProjectExplorer::Tasks projectIssues(const ProjectExplorer::Kit *k) const override;
};
} // Python::Internal