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
......@@ -150,7 +150,7 @@ QString VariableManager::resolve(const QString &stringWithVariables) const
QMapIterator<QString, QString> i(d->m_map);
while (i.hasNext()) {;
QString key = QLatin1String("${");
QString key = QLatin1String("%{");
key += i.key();
key += QLatin1Char('}');
result.replace(key, i.value());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment