mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-01 22:25:36 -05:00
Extract argument list to generic string list class and widget
* To be used for http header support * Add variable support
This commit is contained in:
@@ -36,6 +36,15 @@ bool ProcessConfig::Load(obs_data_t *obj)
|
||||
return true;
|
||||
}
|
||||
|
||||
QStringList ProcessConfig::Args()
|
||||
{
|
||||
QStringList result;
|
||||
for (auto &arg : _args) {
|
||||
result << QString::fromStdString(arg);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
ProcessConfigEdit::ProcessConfigEdit(QWidget *parent)
|
||||
: QWidget(parent),
|
||||
_filePath(new FileSelection()),
|
||||
|
||||
Reference in New Issue
Block a user