Features in KDE Base
When application A handles postscript and application B handles text/plain, prefer (by default) A over B, no matter what the InitialPreference is. The initial preference is now understood as "for a given level of mimetype inheritance", so that real handlers are preferred over more generic handlers, by default (user configuration can override this, of course).
With unit test (which creates a fake .desktop file).
This includes a ksycoca format change, so KSYCOCA_VERSION was updated; make sure to install the updated kbuildsycoca as well if you update & install kdecore.
Made weightedOffers() private (moved to .cpp file in KServiceTypeTrader, made private + friend in KMimeTypeTrader). And export one less symbol, KServiceTypeProfile::sortMimeTypeOffers().