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>
This commit is contained in:
Tomaz Canabrava 2013-05-20 17:58:06 -03:00
parent a542b25bde
commit f4acbb02e4
5 changed files with 94 additions and 21 deletions

View file

@ -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)