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
PIM
Akonadi
Commits
b55abe80
Commit
b55abe80
authored
Nov 19, 2021
by
Laurent Montel
Browse files
Fix warning
parent
26f0ea57
Pipeline
#98996
passed with stage
in 14 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/widgets/standardactionmanager.cpp
View file @
b55abe80
...
...
@@ -516,7 +516,7 @@ public:
}
else
if
(
standardActionData
[
type
].
label
)
{
actions
[
type
]
->
setText
(
i18n
(
standardActionData
[
type
].
label
));
#else
}
else
if
(
!
KLocalizedString
(
standardActionData
[
type
].
label
).
toString
().
isEmpty
())
{
}
else
if
(
!
KLocalizedString
(
standardActionData
[
type
].
label
).
untranslatedText
().
isEmpty
())
{
actions
[
type
]
->
setText
(
KLocalizedString
(
standardActionData
[
type
].
label
).
toString
());
#endif
}
...
...
@@ -527,7 +527,7 @@ public:
actions
[
type
]
->
setIconText
(
i18n
(
standardActionData
[
type
].
iconLabel
));
}
#else
}
else
if
(
!
KLocalizedString
(
standardActionData
[
type
].
iconLabel
).
toString
().
isEmpty
())
{
}
else
if
(
!
KLocalizedString
(
standardActionData
[
type
].
iconLabel
).
untranslatedText
().
isEmpty
())
{
actions
[
type
]
->
setIconText
(
KLocalizedString
(
standardActionData
[
type
].
iconLabel
).
toString
());
}
#endif
...
...
@@ -1855,7 +1855,7 @@ QAction *StandardActionManager::createAction(Type type)
}
else
if
(
standardActionData
[
type
].
label
)
{
action
->
setText
(
i18n
(
standardActionData
[
type
].
label
));
#else
}
else
if
(
!
KLocalizedString
(
standardActionData
[
type
].
label
).
toString
().
isEmpty
())
{
}
else
if
(
!
KLocalizedString
(
standardActionData
[
type
].
label
).
untranslatedText
().
isEmpty
())
{
action
->
setText
(
KLocalizedString
(
standardActionData
[
type
].
label
).
toString
());
}
#endif
...
...
@@ -1865,8 +1865,8 @@ QAction *StandardActionManager::createAction(Type type)
}
else
if
(
standardActionData
[
type
].
iconLabel
)
{
action
->
setIconText
(
i18n
(
standardActionData
[
type
].
iconLabel
));
#else
}
else
if
(
!
KLocalizedString
(
standardActionData
[
type
].
iconLabel
).
toString
().
isEmpty
())
{
action
->
setIconText
(
KLocalizedString
(
standardActionData
[
type
].
iconLabel
).
toString
());
}
else
if
(
!
KLocalizedString
(
standardActionData
[
type
].
iconLabel
).
untranslatedText
().
isEmpty
())
{
action
->
setIconText
(
KLocalizedString
(
standardActionData
[
type
].
iconLabel
).
toString
());
#endif
}
...
...
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