Deprecate KDesktopFile::sortOrder()
ClosedPublic

Authored by volkov on Dec 6 2017, 10:36 AM.

Details

Summary

The SortOrder key is deprecated by the Desktop Entry Specification:
https://standards.freedesktop.org/desktop-entry-spec/latest/apc.html

Diff Detail

Repository
R237 KConfig
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
volkov created this revision.Dec 6 2017, 10:36 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptDec 6 2017, 10:36 AM
Restricted Application added a subscriber: Frameworks. · View Herald Transcript
volkov requested review of this revision.Dec 6 2017, 10:36 AM
volkov updated this revision to Diff 23552.Dec 6 2017, 10:40 AM

make the test buildable with KDE_NO_DEPRECATED

dfaure accepted this revision.Dec 6 2017, 10:41 AM
dfaure added inline comments.
src/core/kdesktopfile.h
221

@deprecated since 5.42

This revision is now accepted and ready to land.Dec 6 2017, 10:41 AM
volkov updated this revision to Diff 23553.Dec 6 2017, 10:53 AM

add 'since 5.42'

This revision was automatically updated to reflect the committed changes.