MCPcopy Create free account
hub / github.com/OpenMW/openmw / reset

Method reset

components/lua_ui/widget.cpp:97–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 }
96
97 void WidgetExtension::reset()
98 {
99 // detach all children from the slot widget, in case it gets destroyed
100 for (auto& w : mChildren)
101 w->widget()->detachFromWidget();
102 }
103
104 void WidgetExtension::updateVisible()
105 {

Callers 2

updateWidgetFunction · 0.45
destroyMethod · 0.45

Calls 1

widgetMethod · 0.80

Tested by

no test coverage detected