-
Laura David Hurka authored
There used to be a Q_ASSERT_X that was triggered when a widget was requested with something else than a QToolBar as parent widget. However, when the ToggleActionMenu is added to a QMenu, createWidget() is called with the QMenu as parent. This case was missed to be tested, but occurs when the toolbar is detached/moved by the user.
4afd2147