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 IncidenceEditor
Commits
7bb60ebf
Verified
Commit
7bb60ebf
authored
Oct 24, 2021
by
Marco Rebhan
Browse files
Replace removed insertEmail with addEmail
(see KContacts commit 779da83bcfa42ddc55a17a039e2d9ae9370266d0)
parent
24996756
Pipeline
#91043
failed with stage
in 5 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/incidenceattendee.cpp
View file @
7bb60ebf
...
...
@@ -36,6 +36,7 @@
#include
<KMessageBox>
#include
<QPointer>
#include
<QTreeView>
#include
<kcontacts_version.h>
using
namespace
IncidenceEditorNG
;
...
...
@@ -448,7 +449,11 @@ void IncidenceAttendee::slotSelectAddresses()
}
else
{
KContacts
::
Addressee
contact
;
contact
.
setName
(
selection
.
name
());
#if KContacts_VERSION < QT_VERSION_CHECK(5, 88, 0)
contact
.
insertEmail
(
selection
.
email
());
#else
contact
.
addEmail
(
KContacts
::
Email
(
selection
.
email
()));
#endif
if
(
selection
.
item
().
hasPayload
<
KContacts
::
Addressee
>
())
{
contact
.
setUid
(
selection
.
item
().
payload
<
KContacts
::
Addressee
>
().
uid
());
...
...
Write
Preview
Supports
Markdown
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