forked from qt-creator/qt-creator
ProjectExplorer: Remove Project manager parameter from some constructors
Can be done generically when creating projects. The only wart is the use from BaseQmakeProjectWizardDialog::writeUserFile. Change-Id: Ie98c9f88ec142e82443e204a0075e3ae9e163752 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -50,7 +50,6 @@ namespace CMakeProjectManager {
|
||||
namespace Internal {
|
||||
class CMakeBuildConfiguration;
|
||||
class CMakeBuildSettingsWidget;
|
||||
class CMakeManager;
|
||||
} // namespace Internal
|
||||
|
||||
enum TargetType {
|
||||
@@ -84,7 +83,7 @@ class CMAKE_EXPORT CMakeProject : public ProjectExplorer::Project
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
CMakeProject(Internal::CMakeManager *manager, const Utils::FileName &filename);
|
||||
explicit CMakeProject(const Utils::FileName &filename);
|
||||
~CMakeProject() final;
|
||||
|
||||
QString displayName() const final;
|
||||
|
||||
Reference in New Issue
Block a user