Commit 0008de78 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use {..}

parent b0c3bec5
......@@ -2621,7 +2621,7 @@ void ViewerPrivate::slotHandleAttachment(int choice)
item.setMimeType(KMime::Message::mimeType());
QUrl url;
if (MessageViewer::Util::saveMessageInMboxAndGetUrl(url, Akonadi::Item::List() << item, mMainWindow)) {
showSavedFileFolderWidget(QList<QUrl>() << url, MessageViewer::OpenSavedFileFolderWidget::FileType::Attachment);
showSavedFileFolderWidget({url}, MessageViewer::OpenSavedFileFolderWidget::FileType::Attachment);
}
} else {
QList<QUrl> urlList;
......
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