D26690: Make "Default Applications" in mimeapps.list the preferred applications

Kevin Ottens noreply at phabricator.kde.org
Tue Jan 21 07:20:56 GMT 2020


ervin added inline comments.

INLINE COMMENTS

> meven wrote in kmimeassociations.cpp:104
> The first 25 with the highest preferences cannot be affected but then they can have the same base reference as the next most category loaded.
> Like the 26th "Default Applications" would have the same preference as the first "Added Applications"
> But this is of low concern here anyway.
> It just shows the limitations of the current design based on integer ordering.
> 
> @ervin Do you still feel it needs more comment ?

The first one was fine, but what I meant was a comment in the code for when people bump into those magic numbers. ;-)

REPOSITORY
  R309 KService

BRANCH
  arcpatch-D26690

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

To: meven, dfaure, dvratil, ervin, #frameworks
Cc: ngraham, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200121/1d0fc4a4/attachment.html>


More information about the Kde-frameworks-devel mailing list