Skip to content
GitLab
Menu
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
1dfe20b9
Commit
1dfe20b9
authored
Jun 04, 2017
by
Laurent Montel
😁
Browse files
Minor optimization
parent
c0a7e2ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
messagecomposer/src/recipient/recipientseditorsidewidget.cpp
View file @
1dfe20b9
...
...
@@ -97,10 +97,11 @@ void RecipientsEditorSideWidget::setTotal(int recipients, int lines)
,
"No recipients"
);
else
labelText
=
i18ncp
(
"@info:status Number of recipients selected"
,
"1 recipient"
,
"%1 recipients"
,
recipients
);
mTotalLabel
->
setText
(
labelText
);
if
(
lines
>
3
)
{
mTotalLabel
->
setText
(
labelText
);
mTotalLabel
->
show
();
updateTotalToolTip
();
}
else
{
mTotalLabel
->
hide
();
}
...
...
@@ -111,7 +112,6 @@ void RecipientsEditorSideWidget::setTotal(int recipients, int lines)
mDistributionListButton
->
hide
();
}
updateTotalToolTip
();
}
void
RecipientsEditorSideWidget
::
updateTotalToolTip
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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