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:
WarmUpTill
2023-03-04 15:27:46 +01:00
committed by WarmUpTill
parent 3cd4b2251f
commit 22bbd3a4ca
6 changed files with 33 additions and 11 deletions

View File

@@ -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()),