derive TriggerUI from sigc::trackable so that it can be automically disconnected from signals

The explicit disconnect in the destructor prevents any more signal->connection firing, but the invalidator
is required to remove existing queued slot calls in the receiving thread
This commit is contained in:
Paul Davis 2022-02-21 15:01:36 -07:00
parent 87bcd4d83b
commit 11fd0b84b1
2 changed files with 9 additions and 6 deletions

View file

@ -37,7 +37,7 @@ namespace Gtk
class TriggerJumpDialog;
class TriggerUI
class TriggerUI : virtual public sigc::trackable
{
public:
TriggerUI ();