forked from qt-creator/qt-creator
Coco: Remove unused member
Amends 3928f1a506
.
Change-Id: I705a353f9e5a3e1d266cb7afebb47a02819326a6
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -16,9 +16,8 @@ using namespace ProjectExplorer;
|
||||
static const char flagsSetting[] = "set(coverage_flags_list\n";
|
||||
static const char tweaksLine[] = "# User-supplied settings follow here:\n";
|
||||
|
||||
CMakeModificationFile::CMakeModificationFile(ProjectExplorer::Project *project)
|
||||
CMakeModificationFile::CMakeModificationFile()
|
||||
: ModificationFile{QString(Constants::PROFILE_NAME) + ".cmake", ":/cocoplugin/files/cocoplugin.cmake"}
|
||||
, m_project{project}
|
||||
{}
|
||||
|
||||
void CMakeModificationFile::read()
|
||||
|
@@ -5,22 +5,15 @@
|
||||
|
||||
#include "modificationfile.h"
|
||||
|
||||
namespace ProjectExplorer {
|
||||
class Project;
|
||||
}
|
||||
|
||||
namespace Coco::Internal {
|
||||
|
||||
class CMakeModificationFile : public ModificationFile
|
||||
{
|
||||
public:
|
||||
CMakeModificationFile(ProjectExplorer::Project *project);
|
||||
CMakeModificationFile();
|
||||
|
||||
void read();
|
||||
void write() const;
|
||||
|
||||
private:
|
||||
ProjectExplorer::Project *m_project;
|
||||
};
|
||||
|
||||
} // namespace Coco::Internal
|
||||
|
@@ -26,7 +26,6 @@ class CocoCMakeSettings : public BuildSettings
|
||||
public:
|
||||
explicit CocoCMakeSettings(BuildConfiguration *bc)
|
||||
: BuildSettings{m_featureFile, bc}
|
||||
, m_featureFile{bc->project()}
|
||||
{}
|
||||
|
||||
void connectToProject(CocoProjectWidget *parent) const override;
|
||||
|
Reference in New Issue
Block a user