Commit bc8eebb3 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QStringLiteral

parent 21279fa6
...@@ -85,7 +85,7 @@ void KCalcConstMenu::init_consts() { ...@@ -85,7 +85,7 @@ void KCalcConstMenu::init_consts() {
if (!e.isNull() && e.tagName() == QLatin1String("constant")) { if (!e.isNull() && e.tagName() == QLatin1String("constant")) {
science_constant tmp_const; science_constant tmp_const;
tmp_const.name = I18N_NOOP(e.attributeNode(QLatin1String("name")).value()); tmp_const.name = I18N_NOOP(e.attributeNode(QStringLiteral("name")).value());
tmp_const.label = e.attributeNode(QStringLiteral("symbol")).value(); tmp_const.label = e.attributeNode(QStringLiteral("symbol")).value();
tmp_const.value = e.attributeNode(QStringLiteral("value")).value(); tmp_const.value = e.attributeNode(QStringLiteral("value")).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