emateli created this revision. emateli added a project: Okular. REVISION SUMMARY Okular currently has a minor bug when using menubar style in the title bar or application menu widget. The bug: If you right click on Okular's document UI you will be shown an empty "Tools" separator entry. This patch aims to fix that minor annoyance.
TEST PLAN 1. Set menubar style to: "Title bar button" or "Application Menu Widget" 2. Right click on Okular's document UI. Expected: No "Tools" separator when there are no actions to be shown Actual: An empty "Tools" menu item shows up. For reference: https://imgur.com/a/xVjg3 REPOSITORY R223 Okular REVISION DETAIL https://phabricator.kde.org/D6185 AFFECTED FILES part.cpp To: emateli, #okular Cc: aacid
