Commit 8bf1dc21 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add mimetype

parent 67359706
Pipeline #58756 passed with stage
in 53 minutes and 44 seconds
...@@ -44,7 +44,7 @@ void ViewerPluginExternalscriptInterface::refreshActionList(KActionCollection *a ...@@ -44,7 +44,7 @@ void ViewerPluginExternalscriptInterface::refreshActionList(KActionCollection *a
void ViewerPluginExternalscriptInterface::setMessageItem(const Akonadi::Item &item) void ViewerPluginExternalscriptInterface::setMessageItem(const Akonadi::Item &item)
{ {
mAkonadiUrl = item.url().toString(); mAkonadiUrl = item.url(Akonadi::Item::UrlWithMimeType).toString();
} }
void ViewerPluginExternalscriptInterface::setMessage(const KMime::Message::Ptr &msg) void ViewerPluginExternalscriptInterface::setMessage(const KMime::Message::Ptr &msg)
......
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