Review Request 129791: Avoid duplicates in the available backends list

Antonio Rojas arojas at archlinux.org
Sun Jan 8 11:21:20 UTC 2017


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129791/
-----------------------------------------------------------

Review request for Okular and Albert Astals Cid.


Bugs: 374650
    http://bugs.kde.org/show_bug.cgi?id=374650


Repository: okular


Description
-------

If a generator can open two mime types that match the same file, okular will show a selection dialog containing two copies of the same generator when opening that file. This patch avoids having duplicates in the backend list.


Diffs
-----

  core/document.cpp 19526627 

Diff: https://git.reviewboard.kde.org/r/129791/diff/


Testing
-------

Tried opening a PDF, okular opens it directly. Before this patch, if the "Show backend selection dialog" option was enabled, it would show a backend selection dialog with two copies od the poppler generator.


Thanks,

Antonio Rojas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20170108/3be7347e/attachment.html>


More information about the Okular-devel mailing list