MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / ClearWidgetsFromCacheFor

Method ClearWidgetsFromCacheFor

lib/macro/macro-segment-list.cpp:210–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210void MacroSegmentList::ClearWidgetsFromCacheFor(const Macro *macro)
211{
212 auto it = _widgetCache.find(macro);
213 if (it == _widgetCache.end()) {
214 return;
215 }
216 clearWidgetVector(it->second);
217 _widgetCache.erase(it);
218}
219
220void MacroSegmentList::Highlight(int idx, QColor color)
221{

Callers 1

Calls 3

clearWidgetVectorFunction · 0.85
findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected