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>
This commit is contained in:
Berthold Stoeger 2018-01-08 19:43:01 +01:00 committed by Lubomir I. Ivanov
parent 6193aef9ac
commit 6cf06fb61d
2 changed files with 0 additions and 38 deletions

View file

@ -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;