summaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-14 21:05:41 +0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-14 21:05:41 +0700
commit3ce5520b9cd04edff9ed048e274a0e4a53cc6584 (patch)
treecae478390a69be5092b030e21dab7da5b21aaf2d /qt-ui/downloadfromdivecomputer.cpp
parentfdf8c905d6d3d2a331c1b4870017ca589a527723 (diff)
downloadsubsurface-3ce5520b9cd04edff9ed048e274a0e4a53cc6584.tar.gz
Sort the list of dive computer vendors in the download dialog
This makes so much more sense. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.cpp')
-rw-r--r--qt-ui/downloadfromdivecomputer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp
index 81bc04309..a43a06bc2 100644
--- a/qt-ui/downloadfromdivecomputer.cpp
+++ b/qt-ui/downloadfromdivecomputer.cpp
@@ -226,6 +226,8 @@ void DownloadFromDCWidget::fill_computer_list()
productList["Uemis"].push_back("Zurich");
descriptorLookup[QString("UemisZurich")] = (dc_descriptor_t *)mydescriptor;
+
+ qSort(vendorList);
}
void DownloadFromDCWidget::on_cancel_clicked()