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
6861551c
Commit
6861551c
authored
Oct 29, 2018
by
Laurent Montel
😁
Browse files
Add reply-to support (disable for the moment)
parent
159c04b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
messagecomposer/src/recipient/recipient.cpp
View file @
6861551c
...
...
@@ -28,7 +28,7 @@
using
namespace
KPIM
;
using
namespace
MessageComposer
;
#define IMPLEMENT_REPLY_TO 1
//
#define IMPLEMENT_REPLY_TO 1
class
MessageComposer
::
RecipientPrivate
{
public:
...
...
messagecomposer/src/recipient/recipientseditorsidewidget.cpp
View file @
6861551c
...
...
@@ -124,6 +124,7 @@ void RecipientsEditorSideWidget::updateTotalToolTip()
QString
to
;
QString
cc
;
QString
bcc
;
QString
replyTo
;
Recipient
::
List
recipients
=
mEditor
->
recipients
();
Recipient
::
List
::
ConstIterator
it
;
...
...
@@ -140,6 +141,9 @@ void RecipientsEditorSideWidget::updateTotalToolTip()
case
Recipient
::
Bcc
:
bcc
+=
emailLine
;
break
;
case
Recipient
::
ReplyTo
:
replyTo
+=
emailLine
;
break
;
default:
break
;
}
...
...
@@ -152,6 +156,9 @@ void RecipientsEditorSideWidget::updateTotalToolTip()
if
(
!
bcc
.
isEmpty
())
{
text
+=
i18nc
(
"@info:tooltip %1 list of emails"
,
"BCC:%1"
,
bcc
);
}
if
(
!
replyTo
.
isEmpty
())
{
text
+=
i18nc
(
"@info:tooltip %1 list of emails"
,
"Reply-To:%1"
,
replyTo
);
}
mTotalLabel
->
setToolTip
(
QStringLiteral
(
"<html><head><body>%1</body></head></html>"
).
arg
(
text
));
...
...
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