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

Method SetCondition

plugins/base/macro-condition-plugin-state.cpp:103–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void MacroConditionPluginState::SetCondition(Condition newValue)
104{
105 if (_condition == Condition::OBS_SHUTDOWN) {
106 GetShutdownConditionCount()--;
107 }
108 if (newValue == Condition::OBS_SHUTDOWN) {
109 GetShutdownConditionCount()++;
110 }
111 _condition = newValue;
112}
113
114static inline void populateConditionSelection(QComboBox *list)
115{

Callers 1

ConditionChangedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected