summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager/cmakeproject.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2017-02-28 15:13:16 +0100
committerhjk <hjk@qt.io>2017-02-28 14:56:21 +0000
commit4d3d2d0dfb4e959947f06760cfca2a7bf7d860ff (patch)
treeba244f6bfa5e16f3e74ddbb12cd41e3e5701a120 /src/plugins/cmakeprojectmanager/cmakeproject.h
parent7194e968a8d9d54602d7bf475a928d4f35c0256c (diff)
downloadqt-creator-4d3d2d0dfb4e959947f06760cfca2a7bf7d860ff.tar.gz
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>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeproject.h')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakeproject.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeproject.h b/src/plugins/cmakeprojectmanager/cmakeproject.h
index 7d8711c9f1..33890fcd8f 100644
--- a/src/plugins/cmakeprojectmanager/cmakeproject.h
+++ b/src/plugins/cmakeprojectmanager/cmakeproject.h
@@ -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;