Avoid duplicates in the available backends list

Review Request #129791 - Created Jan. 8, 2017 and submitted

Information
Antonio Rojas
okular
Applications/16.12
374650
Reviewers
okular
aacid

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.

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.

Issues

  • 1
  • 0
  • 0
  • 1
Description From Last Updated
We probably want the same check here, right? Albert Astals Cid Albert Astals Cid
Albert Astals Cid
Antonio Rojas
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 84c9910da9533b9b08fc5a40f693d6763152b331 by Antonio Rojas to branch master.
Loading...