D8689: Fix the result of KDesktopFile::sortOrder()

Alexander Volkov noreply at phabricator.kde.org
Tue Nov 7 10:57:22 UTC 2017


volkov created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  KDesktopFile::sortOrder() returns the value of SortOrder key
  as a string whithout parsing it as a list.
  But according to Desktop Entry Specification
  https://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
  it's type is "string(s)", i.e. the same type as the type of
  Actions and MimeType keys, and thus it should be read the same way.

REPOSITORY
  R237 KConfig

BRANCH
  fix-sort-order

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

AFFECTED FILES
  autotests/kdesktopfiletest.cpp
  autotests/kdesktopfiletest.h
  src/core/kdesktopfile.cpp

To: volkov
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171107/6a90e04a/attachment.html>


More information about the Kde-frameworks-devel mailing list