forked from qt-creator/qt-creator
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.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user