summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-04 00:31:32 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-05 00:05:00 +0300
commitbfd69eb27c2a4a02e337d6fb318b8954c3778d0d (patch)
treecac6d8d7501c5370055fe7615322e8569eff9aa5 /src/gui/widgets
parent3cb9abea149e5ad65999171eda22879a34dc7a22 (diff)
downloadplus-bfd69eb27c2a4a02e337d6fb318b8954c3778d0d.tar.gz
plus-bfd69eb27c2a4a02e337d6fb318b8954c3778d0d.tar.bz2
plus-bfd69eb27c2a4a02e337d6fb318b8954c3778d0d.tar.xz
plus-bfd69eb27c2a4a02e337d6fb318b8954c3778d0d.zip
Add comment about calling virtual member in destructor in widget.cpp
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/widget.cpp1
1 files changed, 1 insertions, 0 deletions
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);