Get location for Facebook from dive site

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-02-12 22:40:30 -08:00
parent 253a137cc7
commit b2f0d21d43

View file

@ -302,7 +302,7 @@ void SocialNetworkDialog::selectionChanged()
tr("min", "abbreviation for minutes"))); tr("min", "abbreviation for minutes")));
} }
if (ui->Location->isChecked()) { if (ui->Location->isChecked()) {
fullText += tr("Dive location: %1 \n").arg(d->location); fullText += tr("Dive location: %1 \n").arg(get_dive_location(d));
} }
if (ui->Buddy->isChecked()) { if (ui->Buddy->isChecked()) {
fullText += tr("Buddy: %1 \n").arg(d->buddy); fullText += tr("Buddy: %1 \n").arg(d->buddy);