From 73eceacaed02632365aae4568c7708a57c8d29b0 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 26 Jun 2015 15:12:37 -0300 Subject: Dive site rewrite: better member name Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'qt-ui/maintab.cpp') diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index c2eac0628..bf68601f1 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -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() -- cgit v1.2.3-70-g09d2