diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-04 00:31:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-05 00:05:00 +0300 |
commit | bfd69eb27c2a4a02e337d6fb318b8954c3778d0d (patch) | |
tree | cac6d8d7501c5370055fe7615322e8569eff9aa5 /src/gui | |
parent | 3cb9abea149e5ad65999171eda22879a34dc7a22 (diff) | |
download | plus-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')
-rw-r--r-- | src/gui/widgets/widget.cpp | 1 |
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); |