subsurface/core
Berthold Stoeger 463bb25705 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>
2020-03-22 12:01:09 -07:00
..
settings cleanup: don't call uiLanguage() in qPref::loadSync() 2020-03-22 12:01:09 -07:00
subsurface-qt Undo: implement invalidate-dive command 2020-03-20 15:20:44 -07:00
android.cpp
applicationstate.cpp
applicationstate.h
btdiscovery.cpp
btdiscovery.h
checkcloudconnection.cpp
checkcloudconnection.h
cloudstorage.cpp
cloudstorage.h
CMakeLists.txt
cochran.c
cochran.h
color.cpp
color.h
compressibility.r
configuredivecomputer.cpp
configuredivecomputer.h
configuredivecomputerthreads.cpp
configuredivecomputerthreads.h
connectionlistmodel.cpp
connectionlistmodel.h
datatrak.c
datatrak.h
deco.c
deco.h
device.c
device.h
devicedetails.cpp
devicedetails.h
display.h
dive.c
dive.h Core: introduce invalid flag for dives 2020-03-20 15:20:44 -07:00
divecomputer.cpp
divecomputer.h
divefilter.cpp Filter: hide invalid dives 2020-03-20 15:20:44 -07:00
divefilter.h
divelist.c Core: consider invalid flag when adding dives 2020-03-20 15:20:44 -07:00
divelist.h
divelogexportlogic.cpp
divelogexportlogic.h
divemode.h
divesite-helper.cpp
divesite.c mobile/edit: don't add dive site twice to table 2020-03-17 14:05:24 -07:00
divesite.h mobile/edit: don't add dive site twice to table 2020-03-17 14:05:24 -07:00
divesitehelpers.cpp cleanup: split uiLanguage() in two functions 2020-03-22 12:01:09 -07:00
divesitehelpers.h
downloadfromdcthread.cpp
downloadfromdcthread.h
equipment.c
equipment.h
errorhelper.c
errorhelper.h
exif.cpp
exif.h
file.c git: load into arbitrary dive tables 2020-03-17 16:50:20 -07:00
file.h
format.cpp
format.h
fulltext.cpp
fulltext.h
gas-model.c
gas.c
gas.h
gaspressures.c
gaspressures.h
gettext.h
gettextfromc.cpp
gettextfromc.h
git-access.c
git-access.h git: load into arbitrary dive tables 2020-03-17 16:50:20 -07:00
gpslocation.cpp cleanup: remove unnecessary include 2020-03-19 00:25:13 +01:00
gpslocation.h
imagedownloader.cpp
imagedownloader.h
import-cobalt.c
import-csv.c
import-csv.h
import-divinglog.c
import-shearwater.c
import-suunto.c
ios.cpp
libdivecomputer.c
libdivecomputer.h
liquivision.c
load-git.c Core: introduce invalid flag for dives 2020-03-20 15:20:44 -07:00
macos.c
membuffer.c
membuffer.h
metadata.cpp
metadata.h
metrics.cpp
metrics.h
ostctools.c
parse-gpx.cpp
parse-gpx.h cleanup: fix mis-spelling of UCT in comments as well 2020-03-19 08:41:19 -07:00
parse-xml.c Core: introduce invalid flag for dives 2020-03-20 15:20:44 -07:00
parse.c cleanup: remove record_dive() function 2020-03-17 16:50:20 -07:00
parse.h
planner.c
planner.h
plannernotes.c
pref.h
profile.c
profile.h
qt-ble.cpp
qt-ble.h
qt-gui.h
qt-init.cpp cleanup: don't allocate translators on heap 2020-03-22 12:01:09 -07:00
qthelper.cpp cleanup: remove memory leak in initUiLocale() 2020-03-22 12:01:09 -07:00
qthelper.h cleanup: split uiLanguage() in two functions 2020-03-22 12:01:09 -07:00
qtserialbluetooth.cpp
save-git.c Core: introduce invalid flag for dives 2020-03-20 15:20:44 -07:00
save-html.c
save-html.h
save-profiledata.c
save-profiledata.h
save-xml.c Undo: implement invalidate-dive command 2020-03-20 15:20:44 -07:00
selection.cpp
selection.h
serial_ftdi.c
serial_usb_android.cpp
serial_usb_android.h
sha1.c
sha1.h
ssrf.h
statistics.c Ignore invalid dives in statistics 2020-03-20 15:20:44 -07:00
statistics.h
strndup.h
strtod.c
structured_list.h
subsurface-string.h
subsurfacestartup.c
subsurfacestartup.h
subsurfacesysinfo.cpp
subsurfacesysinfo.h
table.h
tag.c
tag.h
taxonomy.c
taxonomy.h
time.c
timer.c
timer.h
trip.c
trip.h
uemis-downloader.c
uemis.c
uemis.h
units.c
units.h
unix.c
uploadDiveLogsDE.cpp
uploadDiveLogsDE.h
uploadDiveShare.cpp
uploadDiveShare.h
version.c
version.h
videoframeextractor.cpp
videoframeextractor.h
webservice.h
windows.c
windowtitleupdate.cpp
windowtitleupdate.h
worldmap-options.h
worldmap-save.c
worldmap-save.h
xmp_parser.cpp
xmp_parser.h