diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-20 17:58:06 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-20 17:58:06 -0300 |
commit | f4acbb02e489672b6ee56e5bcf37b651039abb77 (patch) | |
tree | b8787e8e3e13fd0a72d9390fca2717fa055062a8 /qt-gui.cpp | |
parent | a542b25bde597b7bfe189f14a6868f711f879516 (diff) | |
download | subsurface-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.cpp | 4 |
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) |