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 /download-dialog.c | |
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 'download-dialog.c')
-rw-r--r-- | download-dialog.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/download-dialog.c b/download-dialog.c index bbd499aaf..b98562571 100644 --- a/download-dialog.c +++ b/download-dialog.c @@ -9,24 +9,7 @@ const char *default_dive_computer_vendor; const char *default_dive_computer_product; const char *default_dive_computer_device; -struct product { - const char *product; - dc_descriptor_t *descriptor; - struct product *next; -}; - -struct vendor { - const char *vendor; - struct product *productlist; - struct vendor *next; -}; -struct mydescriptor { - const char *vendor; - const char *product; - dc_family_t type; - unsigned int model; -}; struct vendor *dc_list; |