Okular crashes when the annotation toolbar is moved
When I try to move the annotation toolbar okular crashes with the following error:
ASSERT failure in ToggleActionMenu::createWidget(): "Parent implementation KActionMenu::createWidget() did not return a QToolButton, but ToggleActionMenu is designed for QToolButton. Did you call createWidget() manually, with something else than a QToolBar?", file /media/dataHD/development/kde/kde-projects/okular/annotation-toolbar/part/toggleactionmenu.cpp, line 42
Removing the assert seems to solve the problem, without noticeable side effects.
@davidhurka Is it safe to remove that assert?