subsurface/desktop-widgets
Berthold Stoeger 04593e8ec4 Cleanup: fix printGPSCoords signature and leaks
The printGPSCoords() function returns a copied C-style string. Since
the owndership is transferred to the caller, the correct return type
is "char *" instead of "const char *".

Thus a number of casts when calling free can be removed.

Moreover a number of callers didn't free the string and thus were
leaking memory. Fix them. Ultimately we might want two versions
of the function: one for QString, one for C-style strings.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-03-24 21:57:13 -07:00
..
css Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
preferences
statistics
tab-widgets
about.cpp
about.h
about.ui
btdeviceselectiondialog.cpp Desktop: only show dive computers in the Bluetooth device list 2019-02-14 09:05:58 -08:00
btdeviceselectiondialog.h
btdeviceselectiondialog.ui
CMakeLists.txt
command.cpp
command.h
command_base.cpp
command_base.h
command_divelist.cpp
command_divelist.h Import: control process_imported_dives() by flags 2019-01-19 13:48:17 -08:00
configuredivecomputerdialog.cpp Cleanup: we don't support configuring a Uemis SDA 2018-08-28 12:03:03 -07:00
configuredivecomputerdialog.h Cleanup: reinstate override modifiers 2018-09-29 15:23:25 -07:00
configuredivecomputerdialog.ui
divecomponentselection.ui Add various enhancements to profile export and dive data copy 2019-02-07 16:06:43 +01:00
divecomputermanagementdialog.cpp
divecomputermanagementdialog.h
divecomputermanagementdialog.ui
divelistview.cpp
divelistview.h Dive list: split DiveTripModel into distinct models (tree and list) 2019-01-07 09:33:52 -08:00
divelogexportdialog.cpp
divelogexportdialog.h Add various enhancements to profile export and dive data copy 2019-02-07 16:06:43 +01:00
divelogexportdialog.ui
divelogimportdialog.cpp
divelogimportdialog.h Import: Make DiveLogImportDialog modal 2018-10-04 10:22:11 +02:00
divelogimportdialog.ui
divepicturewidget.cpp
divepicturewidget.h
diveplanner.cpp Planner: Add checkbox to force OC bailout 2019-01-13 15:02:07 -08:00
diveplanner.h
diveplanner.ui Choose water presets from a qcombobox in planner, custom value possible 2018-03-02 08:38:22 -08:00
diveshareexportdialog.cpp
diveshareexportdialog.h Random whitespace cleanup 2017-05-27 11:07:20 -07:00
diveshareexportdialog.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
downloadfromdivecomputer.cpp
downloadfromdivecomputer.h
downloadfromdivecomputer.ui
filterwidget2.cpp
filterwidget2.h
filterwidget2.ui Filter panel: add suit and notes search fields 2019-02-28 15:45:42 -08:00
findmovedimagesdialog.cpp
findmovedimagesdialog.h Dive pictures: implement FindMovedImagesDialog 2018-07-04 02:27:36 +08:00
findmovedimagesdialog.ui
groupedlineedit.cpp
groupedlineedit.h
kmessagewidget.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
kmessagewidget.h
listfilter.ui
locationinformation.cpp Cleanup: fix printGPSCoords signature and leaks 2019-03-24 21:57:13 -07:00
locationinformation.h
locationinformation.ui Cleanup: rename locationInformation.ui -> locationinformation.ui 2019-02-02 19:36:11 +02:00
mainwindow.cpp Desktop: show the filter information in the window title 2019-02-19 12:02:58 -08:00
mainwindow.h Desktop: show filter panel with maximized dive list 2019-02-11 12:29:07 -08:00
mainwindow.ui Desktop: remove checkmark from Filter divelist entry in Log menu 2019-02-19 12:02:58 -08:00
mapwidget.cpp
mapwidget.h Dive site: pass pointer to updateDiveSiteCoordinates() 2018-10-29 00:09:31 +00:00
modeldelegates.cpp
modeldelegates.h
notificationwidget.cpp
notificationwidget.h
plannerDetails.ui
plannerSettings.ui
printdialog.cpp
printdialog.h Cleanup: replace virtual by override where appropriate 2018-07-31 11:02:34 +02:00
printer.cpp
printer.h
printoptions.cpp
printoptions.h
printoptions.ui
qtwaitingspinner.cpp
qtwaitingspinner.h
renumber.ui Use icons relative path. 2017-11-30 23:14:46 -08:00
searchbar.ui Use better aliases for icons. 2017-11-30 23:14:46 -08:00
setpoint.ui
shiftimagetimes.ui
shifttimes.ui
simplewidgets.cpp
simplewidgets.h
starwidget.cpp Cleanup: remove parameter from currentDiveChanged signal 2018-07-30 12:20:26 -07:00
starwidget.h
subsurfacewebservices.cpp Misc: replace some FIXME comments 2019-03-19 09:56:48 -07:00
subsurfacewebservices.h Cleanup: Devirtualize WebServices::downloadTimedOut() 2018-09-29 15:16:11 -07:00
tableview.cpp
tableview.h
tableview.ui
tagwidget.cpp
tagwidget.h
templateedit.cpp Warnings: replace memcpy by assignment 2018-11-19 13:51:03 -08:00
templateedit.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
templateedit.ui
templatelayout.cpp
templatelayout.h Translations: unify gettextFromC::tr() and QObject::tr() 2018-07-04 05:33:31 +08:00
updatemanager.cpp
updatemanager.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
urldialog.ui
usermanual.cpp Remove partial support for QWebEngine 2019-03-20 08:45:02 -07:00
usermanual.h
usersurvey.cpp Revert "desktop-widgets: remove QSettings from desktop-widgets" 2018-08-29 03:09:10 -07:00
usersurvey.h
usersurvey.ui
webservices.ui