summaryrefslogtreecommitdiffstats
path: root/qt-gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-gui.cpp')
-rw-r--r--qt-gui.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp
index 2155f0029..a4801f760 100644
--- a/qt-gui.cpp
+++ b/qt-gui.cpp
@@ -75,14 +75,16 @@ void init_ui(int *argcp, char ***argvp)
QTextCodec::setCodecForCStrings(QTextCodec::codecForMib(106));
#endif
+#if 0
subsurface_open_conf();
load_preferences();
+ /* these still need to be handled in QSettings */
default_dive_computer_vendor = subsurface_get_conf("dive_computer_vendor");
default_dive_computer_product = subsurface_get_conf("dive_computer_product");
default_dive_computer_device = subsurface_get_conf("dive_computer_device");
-
+#endif
return;
}
@@ -94,7 +96,9 @@ void run_ui(void)
void exit_ui(void)
{
delete application;
+#if 0
subsurface_close_conf();
+#endif
if (existing_filename)
free((void *)existing_filename);
if (default_dive_computer_device)