Commit 6b27206f authored by Laurent Montel's avatar Laurent Montel 😁

Minor optimization

parent 234fa683
......@@ -47,9 +47,9 @@ SelectMailWidget::~SelectMailWidget()
QStringList SelectMailWidget::selectedEmails() const
{
QStringList lst;
lst.reserve(mView->selectedAddresses().count());
for (const Akonadi::EmailAddressSelection &selection : mView->selectedAddresses()) {
lst.append(selection.email());
}
return lst;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment