Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KCalc
Commits
bc8eebb3
Commit
bc8eebb3
authored
May 30, 2021
by
Laurent Montel
Browse files
Use QStringLiteral
parent
21279fa6
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcalc_const_menu.cpp
View file @
bc8eebb3
...
...
@@ -85,7 +85,7 @@ void KCalcConstMenu::init_consts() {
if
(
!
e
.
isNull
()
&&
e
.
tagName
()
==
QLatin1String
(
"constant"
))
{
science_constant
tmp_const
;
tmp_const
.
name
=
I18N_NOOP
(
e
.
attributeNode
(
Q
Latin1
String
(
"name"
)).
value
());
tmp_const
.
name
=
I18N_NOOP
(
e
.
attributeNode
(
QString
Literal
(
"name"
)).
value
());
tmp_const
.
label
=
e
.
attributeNode
(
QStringLiteral
(
"symbol"
)).
value
();
tmp_const
.
value
=
e
.
attributeNode
(
QStringLiteral
(
"value"
)).
value
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment