forked from qt-creator/qt-creator
Core: Rename "asciify" macro to "Asciify"
By convention, macro names start with a capital letter.
Amends: b2e96147cb
Change-Id: I2aa93deee7aec798128371d7f81a9c6fc9dd85c2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -232,7 +232,7 @@ bool CorePlugin::initialize(const QStringList &arguments, QString *errorMessage)
|
||||
[] { return QUuid::createUuid().toString(); });
|
||||
|
||||
expander->registerPrefix("#:", Tr::tr("A comment."), [](const QString &) { return QString(); });
|
||||
expander->registerPrefix("asciify:", Tr::tr("Convert string into pure ascii."),
|
||||
expander->registerPrefix("Asciify:", Tr::tr("Convert string into pure ascii."),
|
||||
[expander] (const QString &s) {
|
||||
return asciify(expander->expand(s)); });
|
||||
|
||||
|
@@ -16,7 +16,7 @@ namespace ProjectExplorer {
|
||||
|
||||
static QString defaultBuildDirectoryTemplate()
|
||||
{
|
||||
return "../%{asciify:build-%{Project:Name}-%{Kit:FileSystemName}-%{BuildConfig:Name}}";
|
||||
return "../%{Asciify:build-%{Project:Name}-%{Kit:FileSystemName}-%{BuildConfig:Name}}";
|
||||
}
|
||||
|
||||
BuildPropertiesSettings &buildPropertiesSettings()
|
||||
|
Reference in New Issue
Block a user