diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-05-25 23:30:10 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-26 09:21:46 -0700 |
commit | d7f5246d6b347096b3c91d298b0ab9b5be22f1ba (patch) | |
tree | 2f074a70047e3666185afc58521b1a96777e898e /core/metrics.cpp | |
parent | d21d42b69117aae04b68ecc9cc2139e034bde146 (diff) | |
download | subsurface-d7f5246d6b347096b3c91d298b0ab9b5be22f1ba.tar.gz |
Cleanup: remove deleteLater() in QMLProfile
The actual profile object was destroyed with deleteLater() in the
destructor of QMLProfile. This is ominous, because the subobject
shouldn't survive the parent object.
Therefore, automatically destroy the profile by using a QScopedPointer.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/metrics.cpp')
0 files changed, 0 insertions, 0 deletions