Meson: Remove unused MesonFileNode

Change-Id: If4abb94c6b69871aa137cdca7f7a80fe50cc9d19
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2024-07-25 15:31:03 +02:00
parent bb7feab97b
commit f0a24c8093
2 changed files with 0 additions and 19 deletions

View File

@@ -23,13 +23,6 @@ MesonProjectNode::MesonProjectNode(const FilePath &directory)
setListInProject(false);
}
MesonFileNode::MesonFileNode(const FilePath &file)
: ProjectNode(file)
{
setIcon(DirectoryIcon(Constants::Icons::MESON));
setListInProject(true);
}
MesonTargetNode::MesonTargetNode(const FilePath &directory, const QString &name)
: ProjectNode(directory)
, m_name(name)

View File

@@ -26,16 +26,4 @@ private:
QString m_name;
};
class MesonFileNode : public ProjectExplorer::ProjectNode
{
public:
MesonFileNode(const Utils::FilePath &file);
bool showInSimpleTree() const final { return false; }
std::optional<Utils::FilePath> visibleAfterAddFileAction() const override
{
return filePath().pathAppended("meson.build");
}
};
} // MesonProjectManager:Internal