mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
5ad6e168c6
Free a bunch of C-style strings before assigning newly copied strings. One case was particularly buggy: prefs.locale.use_system_language = copy_string(qPrintable(value)); Note that prefs.locale.use_system_language is a bool, which of course always evaluates to true! Probably nobody noticed because a restart is required when changing locale. Moreover remove a few double-semicolons. |
||
---|---|---|
.. | ||
CylinderObjectHelper.cpp | ||
CylinderObjectHelper.h | ||
DiveObjectHelper.cpp | ||
DiveObjectHelper.h | ||
SettingsObjectWrapper.cpp | ||
SettingsObjectWrapper.h |