diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-01-08 19:43:01 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-01-10 21:25:02 +0100 |
commit | 6cf06fb61d468339ef2091d3846840c7b00e41c7 (patch) | |
tree | 58c5b6f5b17104a273424bcdb438fd61f7efa0ac /profile-widget/profilewidget2.h | |
parent | 6193aef9ac7678a66748d6cd410e387024cc16cb (diff) | |
download | subsurface-6cf06fb61d468339ef2091d3846840c7b00e41c7.tar.gz |
Remove unnecessary deletes in destructor of ProfileWidget2
All the deleted items were added to the scene, which takes
"ownership" (a remarkably fuzzy concept in Qt) of these
objects. In principle, deleting these items is a bug - even
though it is handled gracefully.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/profilewidget2.h')
-rw-r--r-- | profile-widget/profilewidget2.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h index 64fac0451..8c61952b4 100644 --- a/profile-widget/profilewidget2.h +++ b/profile-widget/profilewidget2.h @@ -137,7 +137,6 @@ slots: // Necessary to call from QAction's signals. #endif protected: - virtual ~ProfileWidget2(); void resizeEvent(QResizeEvent *event) Q_DECL_OVERRIDE; #ifndef SUBSURFACE_MOBILE void wheelEvent(QWheelEvent *event) Q_DECL_OVERRIDE; |