diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-08-27 12:45:20 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-08-27 12:45:20 -0700 |
commit | c52688c528602bca5c2f29b2e4d324d5af080512 (patch) | |
tree | bd72776dd03da112e41514c0a3b54d4cd558eda3 | |
parent | 1bf76dd3db9106fe99ee2f4bae7d7ecc4766faef (diff) | |
download | subsurface-c52688c528602bca5c2f29b2e4d324d5af080512.tar.gz |
Fix compile for Subsurface-mobile
The Settings update series didn't make the corresponding changes
for Subsurface-mobile.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | subsurface-mobile-helper.cpp | 3 | ||||
-rw-r--r-- | subsurface-mobile-main.cpp | 1 |
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 |