Launcher: fix handling of prop custom args.
The parser wasn’t special case these, and they have to be handled differently to work now.
This commit is contained in:
parent
ec9989c244
commit
5fa9242d7a
1 changed files with 5 additions and 1 deletions
|
@ -53,8 +53,12 @@ void ExtraSettingsSection::doApply()
|
|||
LauncherArgumentTokenizer tk;
|
||||
|
||||
Q_FOREACH(auto arg, tk.tokenize(m_argsEdit->toPlainText())) {
|
||||
if (arg.arg.startsWith("prop:")) {
|
||||
m_config->setProperty(arg.arg.mid(5), arg.value);
|
||||
} else {
|
||||
m_config->setArg(arg.arg, arg.value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ExtraSettingsSection::saveState(QSettings &settings) const
|
||||
|
|
Loading…
Reference in a new issue