davidhurka marked an inline comment as done.
davidhurka added a comment.

  I have figured out, what was going on in the QToolButton.
  
  KActionMenu::createWidget() added itself as default action. Then, 
CheckableActionMenu::createWidget() adds another action as default action. 
Then, the QToolButton has two actions, and builds a menu of them, instead of 
using the given menu.
  
  Now I remove the KActionMenu in CheckableActionMenu::createWidget(), so there 
is only my default action left. Then, QToolButton::setMenu() apparently works.

REPOSITORY
  R223 Okular

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

To: davidhurka, #okular, #vdg
Cc: GB_2, davidre, aacid, ngraham, okular-devel, joaonetto, tfella, darcyshen

Reply via email to