summaryrefslogtreecommitdiffstats
path: root/qt-gui.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-20 17:58:06 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-20 17:58:06 -0300
commitf4acbb02e489672b6ee56e5bcf37b651039abb77 (patch)
treeb8787e8e3e13fd0a72d9390fca2717fa055062a8 /qt-gui.cpp
parenta542b25bde597b7bfe189f14a6868f711f879516 (diff)
downloadsubsurface-f4acbb02e489672b6ee56e5bcf37b651039abb77.tar.gz
Populate the Vendor && Dive computer information.
This uses the QStringListModel to populate the items of the QComboBoxes. I used a QHash to hold every Computer of a particular Vendor. so, products[vendor] gives me the full list of products from each vendor. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-gui.cpp')
-rw-r--r--qt-gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp
index e3a8ad5aa..dfc1df19d 100644
--- a/qt-gui.cpp
+++ b/qt-gui.cpp
@@ -113,8 +113,8 @@ void exit_ui(void)
#endif
if (existing_filename)
free((void *)existing_filename);
- if (default_dive_computer_device)
- free((void *)default_dive_computer_device);
+// if (default_dive_computer_device)
+// free((void *)default_dive_computer_device);
}
void set_filename(const char *filename, gboolean force)