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

Function populateList

plugins/base/macro-condition-obs-stats.cpp:463–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461
462template<class T>
463static inline void populateList(QComboBox *list,
464 const std::map<T, std::string> &map)
465{
466 list->clear();
467 for (const auto &[_, name] : map) {
468 list->addItem(obs_module_text(name.c_str()));
469 }
470}
471
472MacroConditionStatsEdit::MacroConditionStatsEdit(
473 QWidget *parent, std::shared_ptr<MacroConditionStats> entryData)

Callers 1

Calls 2

obs_module_textFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected