Replace QLatin1String, QStringLiteral ("") with QString()

Change-Id: I21e6165e7e8858df8436c04c9afcc1be5242bda4
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
Nikita Baryshnikov
2017-08-07 13:21:21 +03:00
parent 9c9baaac04
commit 8de69d7b5f
8 changed files with 13 additions and 13 deletions

View File

@@ -203,7 +203,7 @@ bool CorePlugin::initialize(const QStringList &arguments, QString *errorMessage)
expander->registerVariable("UUID", tr("Generate a new UUID."),
[]() { return QUuid::createUuid().toString(); });
expander->registerPrefix("#:", tr("A comment."), [](const QString &) { return QStringLiteral(""); });
expander->registerPrefix("#:", tr("A comment."), [](const QString &) { return QString(); });
// Make sure all wizards are there when the user might access the keyboard shortcuts:
connect(ICore::instance(), &ICore::optionsDialogRequested, []() { IWizardFactory::allWizardFactories(); });