D8690: Fix use of OpenUrlArguments

Julian Wolff noreply at phabricator.kde.org
Tue Nov 7 11:48:06 UTC 2017


progwolff created this revision.
progwolff added a reviewer: aacid.
Restricted Application added a subscriber: Okular.
Restricted Application added a project: Okular.

REVISION SUMMARY
  BUG: 386600
  
  Applications using Okular as a KPart might set a file's mime type in the OpenUrlArguments.
  Okular currently clears this arguments while opening a document. This revision fixes this, allowing 
  applications to actually pass a file's mime type to Okular.

TEST PLAN
  Opened documents with mime type "text/markdown" and "application/rtf" in kate, using the new
  preview plugin. The embedded Okular KPart displays these files correctly.

REPOSITORY
  R223 Okular

BRANCH
  Applications/17.08

REVISION DETAIL
  https://phabricator.kde.org/D8690

AFFECTED FILES
  part.cpp

To: progwolff, aacid
Cc: #okular, aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20171107/35d35dfd/attachment.html>


More information about the Okular-devel mailing list