Give a parent to KMoreToolsMenuFactory menus
ClosedPublic

Authored by elvisangelaccio on May 29 2017, 11:00 AM.

Details

Summary

A QMenu without a parent will be wrongly positioned on Wayland.

Test Plan

KMoreToolsMenuFactory menu in Dolphin status bar now works on wayland

Diff Detail

Repository
R304 KNewStuff
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Restricted Application added a project: Frameworks. · View Herald TranscriptMay 29 2017, 11:00 AM
Restricted Application added a subscriber: Frameworks. · View Herald Transcript

Note: we could also deprecate the current createMenuFromGroupingNames() in favor of a new createMenuFromGroupingNames() that takes an addition QWidget* argument. Not sure which way is the best.

  • Bumped @since
dfaure accepted this revision.Jul 1 2017, 6:38 PM
This revision is now accepted and ready to land.Jul 1 2017, 6:38 PM
This revision was automatically updated to reflect the committed changes.