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

Method SwitchesScene

lib/macro/macro.cpp:1030–1043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1028}
1029
1030bool Macro::SwitchesScene() const
1031{
1032 for (const auto &a : _actions) {
1033 if (a->GetId() == MacroAction::GetDefaultID()) {
1034 return true;
1035 }
1036 }
1037 for (const auto &a : _elseActions) {
1038 if (a->GetId() == MacroAction::GetDefaultID()) {
1039 return true;
1040 }
1041 }
1042 return false;
1043}
1044
1045const QList<int> &Macro::GetActionConditionSplitterPosition() const
1046{

Callers 1

CheckMacrosFunction · 0.80

Calls 1

GetIdMethod · 0.45

Tested by

no test coverage detected