Home
Phabricator
Search
Log In
Differential
D21755
Diff 60002
ui/toggleactionmenu.cpp
Changeset View
Debugging...
forgetButton() is connected to QObject::destroyed of the toolbar buttons.
So, forgetButton() is called when the toolbar button is destructed.
But that happens when this ToggleActionMenu has already been destructed.
How is that possible, to call a slot of an already destructed object?
(BTW: Providing a destructor for ToggleActionMenu does not change anything.)