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>
This commit is contained in:
Dirk Hohndel 2016-08-27 12:45:20 -07:00
parent 1bf76dd3db
commit c52688c528
2 changed files with 0 additions and 4 deletions

View file

@ -94,9 +94,6 @@ void exit_ui()
{ {
delete qApp; delete qApp;
free((void *)existing_filename); 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() double get_screen_dpi()

View file

@ -45,7 +45,6 @@ int main(int argc, char **argv)
parse_xml_init(); parse_xml_init();
taglist_init_global(); taglist_init_global();
init_ui(); init_ui();
loadPreferences();
if (prefs.default_file_behavior == LOCAL_DEFAULT_FILE) if (prefs.default_file_behavior == LOCAL_DEFAULT_FILE)
set_filename(prefs.default_filename, true); set_filename(prefs.default_filename, true);
else else