Skip to content

Fix list settings not having variables resolved - #48462

Merged
serra-fastly merged 3 commits into
mainfrom
serra/list-resolve
Oct 28, 2026
Merged

serra-fastly merged 3 commits into
mainfrom
serra/list-resolve

Conversation

@serra-fastly

Copy link
Copy Markdown
Contributor

Since #48321, Settings::value() is checking for a VariantType::List, but the settings return a QStringList in string list instances, so list values never had their variables substituted. For example, settings.value("proxy/m2a_in_specs") returned both its items with {rundir} and {ipc_prefix} unsubstituted.

This change adds the VariantType::StringList enum for QStringList items and converts the check.

Tested locally

@serra-fastly
serra-fastly requested a review from a team October 27, 2026 21:48
@serra-fastly
serra-fastly merged commit a4fab09 into main Oct 28, 2026
21 checks passed
@serra-fastly
serra-fastly deleted the serra/list-resolve branch October 28, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants