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

Method SourceChanged

plugins/base/macro-condition-media.cpp:722–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

720}
721
722void MacroConditionMediaEdit::SourceChanged(const SourceSelection &source)
723{
724 GUARD_LOADING_AND_LOCK();
725 _entryData->_sourceGroup.clear();
726 _entryData->SetSourceType(MacroConditionMedia::SourceType::SOURCE);
727 _entryData->SetSource(source);
728 _entryData->ResetSignalHandler();
729 emit HeaderInfoChanged(
730 QString::fromStdString(_entryData->GetShortDesc()));
731 SetWidgetVisibility();
732}
733
734void MacroConditionMediaEdit::SceneChanged(const SceneSelection &s)
735{

Callers

nothing calls this directly

Calls 4

SetSourceTypeMethod · 0.80
ResetSignalHandlerMethod · 0.80
SetSourceMethod · 0.45
GetShortDescMethod · 0.45

Tested by

no test coverage detected