Merge the dive sites selected.

Wee. :)

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-08-31 21:45:31 -03:00 committed by Dirk Hohndel
parent e36e4d1faa
commit 1ef20ee5d8
3 changed files with 22 additions and 3 deletions

View file

@ -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);
}