diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-03-22 16:54:52 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-22 12:01:09 -0700 |
commit | 463bb2570582ee6761117e54e7b4ef406be7c8cc (patch) | |
tree | ad13168d1060486af9385ef1cbad3c963f45fcc0 /core/subsurfacesysinfo.cpp | |
parent | 0f30ca9b3359200e660422851033a7534471f3f6 (diff) | |
download | subsurface-463bb2570582ee6761117e54e7b4ef406be7c8cc.tar.gz |
cleanup: don't allocate translators on heap
This is pointless bike-shedding: instead of allocating the QTranslators
on the heap an assigning them to a variable at translation-unit scope,
we can simply generate them as static objects.
That makes
1) two fewer lines of code
2) the translator-resources are properly released when the application
closes.
Not that either of these points would make *any* difference.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/subsurfacesysinfo.cpp')
0 files changed, 0 insertions, 0 deletions