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

Method ShowNextMatch

plugins/base/macro-condition-date.cpp:661–671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

659}
660
661void MacroConditionDateEdit::ShowNextMatch()
662{
663 if (!_entryData || _entryData->_dayOfWeekCheck ||
664 !_entryData->_repeat) {
665 return;
666 }
667 QString format(obs_module_text(
668 "AdvSceneSwitcher.condition.date.layout.nextMatchDate"));
669 _nextMatchDate->setText(
670 format.arg(_entryData->GetNextMatchDateTime().toString()));
671}
672
673void MacroConditionDateEdit::PatternChanged()
674{

Callers

nothing calls this directly

Calls 4

obs_module_textFunction · 0.85
setTextMethod · 0.80
GetNextMatchDateTimeMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected