D27403: Hide top level scrollkeeper menu item if it's empty

Aleksei Nikiforov noreply at phabricator.kde.org
Fri Feb 14 15:07:51 GMT 2020


alnikiforov created this revision.
alnikiforov added reviewers: yurchor, mlaurent, ltoscano.
Herald added a project: Documentation.
Herald added a subscriber: kde-doc-english.
alnikiforov requested review of this revision.

REVISION SUMMARY
  If there's no data, it looks like it's bugged. Let's hide it in such case.

TEST PLAN
  1. Remove **librarian** package and make sure **scrollkeeper-get-content-list** is no longer in path
  2. Start khelpcenter
  3. In contents tab in left part of application window **scrollkeeper** item should be hidden instead of being empty

REPOSITORY
  R125 KHelpCenter

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

AFFECTED FILES
  khelpcenter/navigator.cpp
  khelpcenter/scrollkeepertreebuilder.cpp
  khelpcenter/scrollkeepertreebuilder.h

To: alnikiforov, yurchor, mlaurent, ltoscano
Cc: kde-doc-english, gennad, fbampaloukas, skadinna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-doc-english/attachments/20200214/95ef76ec/attachment.html>


More information about the kde-doc-english mailing list