MCPcopy Create free account
hub / github.com/IENT/YUView / remove

Method remove

YUViewLib/src/statistics/CustomColorMapStorage.cpp:162–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void CustomColorMapStorage::remove(const QString &name)
163{
164 auto it = std::find_if(this->customColorMaps.begin(),
165 this->customColorMaps.end(),
166 [&name](const CustomColorMap &map) { return map.name == name; });
167 if (it == this->customColorMaps.end())
168 return;
169
170 this->customColorMaps.erase(it);
171 storeToSettings(this->customColorMaps);
172}
173
174} // namespace stats::color

Callers 9

parseCSVLineFunction · 0.80
~PlaylistTreeWidgetMethod · 0.80
dropAutosavedPlaylistMethod · 0.80
autoSavePlaylistMethod · 0.80
removeFrameFromCacheMethod · 0.80
writeNewItemListFunction · 0.80
downloadFinishedMethod · 0.80

Calls 1

storeToSettingsFunction · 0.85

Tested by

no test coverage detected