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

Method GetEnabledOptions

plugins/twitch/token.cpp:840–851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

838}
839
840std::set<TokenOption> TwitchTokenSettingsDialog::GetEnabledOptions()
841{
842 std::set<TokenOption> result;
843 for (const auto &[id, checkBox] : _optionWidgets) {
844 if (checkBox->isChecked()) {
845 TokenOption option;
846 option.apiId = id;
847 result.emplace(option);
848 }
849 }
850 return result;
851}
852
853bool TwitchTokenSettingsDialog::AskForSettings(QWidget *parent,
854 TwitchToken &settings)

Callers 1

AskForSettingsMethod · 0.80

Calls 1

isCheckedMethod · 0.80

Tested by

no test coverage detected