summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-10-11 13:35:54 +0200
committerMontel Laurent <[email protected]>2017-10-11 13:35:54 +0200
commitf74a81aef253366952c5851587f39fe4108fcb1a (patch)
treeced567974f1c41812ff4fe5473380ba392579107
parent3b212f11f2e2e10c64a43093fd23c74ed7002c78 (diff)
Fix Bug 385578 - attach vcard, can't select contact without email address
FIXE-IN: 5.7.0 BUG: 385578
-rw-r--r--messagecomposer/src/recipient/recipientspickerwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/messagecomposer/src/recipient/recipientspickerwidget.cpp b/messagecomposer/src/recipient/recipientspickerwidget.cpp
index 7f60f2a..9647b31 100644
--- a/messagecomposer/src/recipient/recipientspickerwidget.cpp
+++ b/messagecomposer/src/recipient/recipientspickerwidget.cpp
@@ -32,7 +32,7 @@ RecipientsPickerWidget::RecipientsPickerWidget(QWidget *parent)
QHBoxLayout *layout = new QHBoxLayout(this);
layout->setMargin(0);
- mView = new Akonadi::EmailAddressSelectionWidget(MessageComposer::RecipientsEditorManager::self()->model()->model(), this);
+ mView = new Akonadi::EmailAddressSelectionWidget(false, MessageComposer::RecipientsEditorManager::self()->model()->model(), this);
layout->addWidget(mView);
mView->view()->setSelectionMode(QAbstractItemView::ExtendedSelection);
mView->view()->setAlternatingRowColors(true);