[Differential] [Changed Subscribers] D4156: sort alphabetically category list

Kai Uwe Broulik noreply at phabricator.kde.org
Mon Jan 16 17:13:35 UTC 2017


broulik added inline comments.

INLINE COMMENTS

> atticaprovider.cpp:137
>      }
> +    std::sort(categoryMetadataList.begin(), categoryMetadataList.end(), [](const AtticaProvider::CategoryMetadata &i, const AtticaProvider::CategoryMetadata &j) -> bool {
> +        const QString a(i.displayName.isEmpty() ? i.name : i.displayName);

Use QCollator for locale-aware sorting

REPOSITORY
  R304 KNewStuff

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

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: mart, #plasma, leinir
Cc: broulik, plasma-devel, #frameworks, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170116/3846123c/attachment.html>


More information about the Kde-frameworks-devel mailing list