MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / clear

Method clear

src/plugins/debugger/interface/localtreeitem.cpp:172–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172void LocalTreeItem::clear()
173{
174 while (childCount() != 0) {
175 LocalTreeItem *item = children.takeLast();
176 item->model = nullptr;
177 item->parentItem = nullptr;
178 delete item;
179 item = nullptr;
180 }
181}
182
183int LocalTreeItem::row() const
184{

Callers 3

setBreakpointsMethod · 0.45
removeAllMethod · 0.45
removeAllMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected