subsurface/core/subsurface-qt
Berthold Stoeger 6ae16b87d0 Constify strings in pref.h
Make all char * pointers in pref.h const to make it clear that these
strings are not mutable. This meant adding a number of (void *) casts
in calls to free(). Apart from being the right thing to do, this commit
makes the code more consistent, as many of the strings in pref.h were
already const.

While touching core/qthelper.cpp turn three instances of (void*) into
(void *).

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2017-11-18 21:57:33 +01:00
..
CylinderObjectHelper.cpp Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
CylinderObjectHelper.h Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
DiveObjectHelper.cpp QML UI: DiveList: add date box to trip header 2017-06-24 13:13:04 -07:00
DiveObjectHelper.h Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
SettingsObjectWrapper.cpp Constify strings in pref.h 2017-11-18 21:57:33 +01:00
SettingsObjectWrapper.h Make Bluetooth naming consistent 2017-11-13 20:48:17 -08:00