diff options
Diffstat (limited to 'desktop-widgets/command_divelist.cpp')
-rw-r--r-- | desktop-widgets/command_divelist.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop-widgets/command_divelist.cpp b/desktop-widgets/command_divelist.cpp index b5cbc12ee..5e3f30ce2 100644 --- a/desktop-widgets/command_divelist.cpp +++ b/desktop-widgets/command_divelist.cpp @@ -511,7 +511,7 @@ AddDive::AddDive(dive *d, bool autogroup, bool newNumber) allocTrip.reset(trip); } - int idx = dive_get_insertion_index(&dive_table, divePtr.get()); + int idx = dive_table_get_insertion_index(&dive_table, divePtr.get()); if (newNumber) divePtr->number = get_dive_nr_at_idx(idx); @@ -603,7 +603,7 @@ void ShiftTime::redoit() d->when += timeChanged; // Changing times may have unsorted the dive table - sort_table(&dive_table); + sort_dive_table(&dive_table); // We send one time changed signal per trip (see comments in DiveListNotifier.h). // Therefore, collect all dives in an array and sort by trip. @@ -615,7 +615,7 @@ void ShiftTime::redoit() // Send signals and sort tables. processByTrip(dives, [&](dive_trip *trip, const QVector<dive *> &divesInTrip) { if (trip) - sort_table(&trip->dives); // Keep the trip-table in order + sort_dive_table(&trip->dives); // Keep the trip-table in order emit diveListNotifier.divesTimeChanged(trip, timeChanged, divesInTrip); }); |