From bfd69eb27c2a4a02e337d6fb318b8954c3778d0d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 4 Sep 2017 00:31:32 +0300 Subject: Add comment about calling virtual member in destructor in widget.cpp --- src/gui/widgets/widget.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/widget.cpp b/src/gui/widgets/widget.cpp index 47d2e0f5b..47bca1fb3 100644 --- a/src/gui/widgets/widget.cpp +++ b/src/gui/widgets/widget.cpp @@ -122,6 +122,7 @@ Widget::~Widget() (*iter)->death(event); } + // +++ call to virtual member setFocusHandler(nullptr); mAllWidgets.remove(this); -- cgit v1.2.3-70-g09d2