diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-09-29 13:21:12 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-04 09:19:10 -0700 |
commit | 7343fe4cc6e364dd3be8f2af4efd9f3a2d748c58 (patch) | |
tree | 0308526feddb5ca9b77e5110c3fd1c95857950d2 /README.md | |
parent | 1e1f33c0f5ea134b832a6ff52086d83d1ef23111 (diff) | |
download | subsurface-7343fe4cc6e364dd3be8f2af4efd9f3a2d748c58.tar.gz |
Cleanup: Implicitly free QApplication
Instead of deleting the Application explicitly in exit_ui(),
use a unique_ptr to have the instance automatically freed.
This is the pattern given in the Qt-docs:
https://doc.qt.io/qt-5/qapplication.html
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions