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,7 +53,11 @@ void ExtraSettingsSection::doApply()
|
|||
LauncherArgumentTokenizer tk;
|
||||
|
||||
Q_FOREACH(auto arg, tk.tokenize(m_argsEdit->toPlainText())) {
|
||||
m_config->setArg(arg.arg, arg.value);
|
||||
if (arg.arg.startsWith("prop:")) {
|
||||
m_config->setProperty(arg.arg.mid(5), arg.value);
|
||||
} else {
|
||||
m_config->setArg(arg.arg, arg.value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue