Review Request 129791: Avoid duplicates in the available backends list

Antonio Rojas arojas at archlinux.org
Sun Jan 8 18:41:17 UTC 2017


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

(Updated Jan. 8, 2017, 6:41 p.m.)


Status
------

This change has been marked as submitted.


Review request for Okular and Albert Astals Cid.


Changes
-------

Submitted with commit f3f077e1a632c6eed77564ff92117a11f7855f2a by Antonio Rojas to branch Applications/16.12.


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/281b3d1e/attachment.html>


More information about the Okular-devel mailing list