Diffusion Kate 52fe3861ebdc

fix wrong KMoreTools API usage

Authored by gregormi.

Description

fix wrong KMoreTools API usage

BUG: 356615

The previously used method
KMoreToolsMenuFactory.fillMenuFromGroupingNames returns a lazy menu
which is not filled until the menu is shown. But in the following code
we do not show the menu but use its menu items to fill another menu. But
there were never any menu items in gitMenu->actions().

Solution: use KMoreToolsMenuFactory.fillMenuFromGroupingNames instead.

Details

Committed
gregormiJan 21 2016, 10:16 PM
Parents
R40:7f6d4fcacaa3: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown