Dive site rewrite: better member name

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-06-26 15:12:37 -03:00 committed by Dirk Hohndel
parent 9d51326e48
commit 73eceacaed
3 changed files with 11 additions and 8 deletions

View file

@ -241,7 +241,10 @@ void MainTab::setCurrentLocationIndex()
void MainTab::showDiveSiteSimpleEdit()
{
SimpleDiveSiteEditDialog dlg(this);
int reason = dlg.exec();
dlg.exec();
if (dlg.changed_dive_site) {
qDebug() << "Changed the dive site, paint something yellow.";
}
}
void MainTab::enableGeoLookupEdition()