Skip to content
Snippets Groups Projects
Commit a2b6391b authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

change variable manager expansion style from ${} to %{}

this is less confusing, because it doesn't look like an environment
variable expansion under unix.
the syntax is a hybrid of printf format specifiers and braced unix
variable expansions.
parent 0641ed0e
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,7 @@ QString VariableManager::resolve(const QString &stringWithVariables) const
QMapIterator<QString, QString> i(d->m_map);
while (i.hasNext()) {
i.next();
QString key = QLatin1String("${");
QString key = QLatin1String("%{");
key += i.key();
key += QLatin1Char('}');
result.replace(key, i.value());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment