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
PIM Messagelib
Commits
a88f82e9
Commit
a88f82e9
authored
Aug 16, 2022
by
Laurent Montel
Browse files
Show warning only if two strings is empty
parent
94b198ef
Pipeline
#218736
passed with stage
in 12 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
messagecomposer/src/statusbarwidget/statusbarlabeltoggledstate.cpp
View file @
a88f82e9
...
...
@@ -18,7 +18,7 @@ StatusBarLabelToggledState::~StatusBarLabelToggledState() = default;
void
StatusBarLabelToggledState
::
setStateString
(
const
QString
&
toggled
,
const
QString
&
untoggled
)
{
if
(
toggled
.
isEmpty
()
||
untoggled
.
isEmpty
())
{
if
(
toggled
.
isEmpty
()
&&
untoggled
.
isEmpty
())
{
qCWarning
(
MESSAGECOMPOSER_LOG
)
<<
" State string is empty. Need to fix it"
;
}
mToggled
=
toggled
;
...
...
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