MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / ~Menu

Method ~Menu

src/ui/menu.cpp:137–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137Menu::~Menu()
138{
139 if (m_menuitem) {
140 if (m_menuitem->getSubmenu() == this) {
141 m_menuitem->setSubmenu(NULL);
142 }
143 else {
144 ASSERT(m_menuitem->getSubmenu() == NULL);
145 }
146 }
147}
148
149//////////////////////////////////////////////////////////////////////
150// MenuBox

Callers

nothing calls this directly

Calls 2

getSubmenuMethod · 0.80
setSubmenuMethod · 0.80

Tested by

no test coverage detected