From c52688c528602bca5c2f29b2e4d324d5af080512 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 27 Aug 2016 12:45:20 -0700 Subject: Fix compile for Subsurface-mobile The Settings update series didn't make the corresponding changes for Subsurface-mobile. Signed-off-by: Dirk Hohndel --- subsurface-mobile-helper.cpp | 3 --- subsurface-mobile-main.cpp | 1 - 2 files changed, 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 -- cgit v1.2.3-70-g09d2