aboutsummaryrefslogtreecommitdiff
path: root/src/gui/modalMenu.cpp
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2022-05-22 12:05:27 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2022-05-22 12:05:27 +0200
commit3ff3103e98b350712543f926c429ab339700e252 (patch)
tree61827d6b7dcb51c38f17f068c8b498c16a0db1c3 /src/gui/modalMenu.cpp
parent350b6d175c406fbbc002237f37db4cf88d6d3d19 (diff)
parent9f338f5a56e5adee3d11d59827f7e2b8a714e6c2 (diff)
downloaddragonfireclient-3ff3103e98b350712543f926c429ab339700e252.tar.xz
Merge branch 'master' of https://github.com/minetest/minetest
Diffstat (limited to 'src/gui/modalMenu.cpp')
-rw-r--r--src/gui/modalMenu.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gui/modalMenu.cpp b/src/gui/modalMenu.cpp
index 56a5d2cb9..d27f63d94 100644
--- a/src/gui/modalMenu.cpp
+++ b/src/gui/modalMenu.cpp
@@ -108,19 +108,6 @@ void GUIModalMenu::quitMenu()
#endif
}
-void GUIModalMenu::removeChildren()
-{
- const core::list<gui::IGUIElement *> &children = getChildren();
- core::list<gui::IGUIElement *> children_copy;
- for (gui::IGUIElement *i : children) {
- children_copy.push_back(i);
- }
-
- for (gui::IGUIElement *i : children_copy) {
- i->remove();
- }
-}
-
// clang-format off
bool GUIModalMenu::DoubleClickDetection(const SEvent &event)
{