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

Review request for Okular.


Repository: okular


Description
-------

Stopping on the first inherit match can prevent finding a perfect match, and 
thus we might enter a competition of inherit matches from other generators.

Example: spectre supports application/postscript and image/x-eps. When opening 
an eps the app/ps is an inherit match, but so is text/plain from the txt 
generator. Thanks to stable_sort() the txt generator is deterministically 
selected from the above two inherit matches. Unless we continue and find the 
perfect match, which is spectre:image/x-eps.


Diffs
-----

  core/document.cpp ff9253a 

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


Testing
-------


Thanks,

Miklós Máté

Reply via email to