mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-20 00:05:41 -05:00
Add support to resolve variables on action queue add
This commit is contained in:
@@ -50,6 +50,23 @@ bool MacroActionSystray::Load(obs_data_t *obj)
|
||||
return true;
|
||||
}
|
||||
|
||||
std::shared_ptr<MacroAction> MacroActionSystray::Create(Macro *m)
|
||||
{
|
||||
return std::make_shared<MacroActionSystray>(m);
|
||||
}
|
||||
|
||||
std::shared_ptr<MacroAction> MacroActionSystray::Copy() const
|
||||
{
|
||||
return std::make_shared<MacroActionSystray>(*this);
|
||||
}
|
||||
|
||||
void MacroActionSystray::ResolveVariablesToFixedValues()
|
||||
{
|
||||
_message.ResolveVariables();
|
||||
_title.ResolveVariables();
|
||||
_iconPath.ResolveVariables();
|
||||
}
|
||||
|
||||
MacroActionSystrayEdit::MacroActionSystrayEdit(
|
||||
QWidget *parent, std::shared_ptr<MacroActionSystray> entryData)
|
||||
: QWidget(parent),
|
||||
|
||||
Reference in New Issue
Block a user