summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--subsurface-mobile-helper.cpp3
-rw-r--r--subsurface-mobile-main.cpp1
2 files changed, 0 insertions, 4 deletions
diff --git a/subsurface-mobile-helper.cpp b/subsurface-mobile-helper.cpp
index 0cc814ca5..05155b3b4 100644
--- a/subsurface-mobile-helper.cpp
+++ b/subsurface-mobile-helper.cpp
@@ -94,9 +94,6 @@ void exit_ui()
{
delete qApp;
free((void *)existing_filename);
- free((void *)default_dive_computer_vendor);
- free((void *)default_dive_computer_product);
- free((void *)default_dive_computer_device);
}
double get_screen_dpi()
diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp
index 68830a5cf..47680d439 100644
--- a/subsurface-mobile-main.cpp
+++ b/subsurface-mobile-main.cpp
@@ -45,7 +45,6 @@ int main(int argc, char **argv)
parse_xml_init();
taglist_init_global();
init_ui();
- loadPreferences();
if (prefs.default_file_behavior == LOCAL_DEFAULT_FILE)
set_filename(prefs.default_filename, true);
else