aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/divepicturewidget.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-05-06 13:01:02 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-05-06 08:46:57 -0700
commit3e1ade5206853bbd95023ae79e62b5c608003352 (patch)
treee10285d8d3ae3766b9574d6fd0623be526ce1f3e /desktop-widgets/divepicturewidget.cpp
parentb95ab84226d831c82c9aa8c43a29acba33d6ff7d (diff)
downloadsubsurface-3e1ade5206853bbd95023ae79e62b5c608003352.tar.gz
cleanup: free print dialog in planner
When printing the plan, a print-dialog was created with "new", but not freed later. Strictly speaking, this is not a leak, because the dialog is attached to the main-window in Qt's object hierarchy. Thus it is freed on application exit. On the other hand, it is a leak in the sense that resources are pointlessly hogged until application exit. Let's just turn it into a stack-allocated object. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/divepicturewidget.cpp')
0 files changed, 0 insertions, 0 deletions