diff options
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.cpp')
-rw-r--r-- | core/subsurface-qt/DiveObjectHelper.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index 9372f422f..1d1bb2f00 100644 --- a/core/subsurface-qt/DiveObjectHelper.cpp +++ b/core/subsurface-qt/DiveObjectHelper.cpp @@ -410,21 +410,3 @@ QString DiveObjectHelper::firstGas() const gas = get_gas_string(m_dive->cylinder[0].gasmix); return gas; } - -QStringList DiveObjectHelper::locationList() const -{ - QStringList locations; - struct dive *d; - struct dive_site *ds; - int i = 0; - for_each_dive (i, d) { - if ((ds = get_dive_site_by_uuid(d->dive_site_uuid)) != NULL) { - QString temp = ds->name; - if (!temp.isEmpty()) - locations << temp; - } - } - locations.removeDuplicates(); - locations.sort(); - return locations; -} |