From 1ef20ee5d8b13a5413ec5aabf16aaa1f1bdd65fd Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 31 Aug 2015 21:45:31 -0300 Subject: Merge the dive sites selected. Wee. :) Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/locationinformation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui') diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp index d029dd2a1..9e2821ceb 100644 --- a/qt-ui/locationinformation.cpp +++ b/qt-ui/locationinformation.cpp @@ -70,7 +70,7 @@ void LocationInformationWidget::mergeSelectedDiveSites() { Q_FOREACH(const QModelIndex& idx, selection) { selected_dive_sites[i] = (uint32_t) idx.data(LocationInformationModel::UUID_ROLE).toInt(); } - merge_dive_sites(selected_dive_sites, i); + merge_dive_sites(displayed_dive_site.uuid, selected_dive_sites, i); free(selected_dive_sites); } -- cgit v1.2.3-70-g09d2