summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-06-26 15:12:37 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-26 18:50:22 -0700
commit73eceacaed02632365aae4568c7708a57c8d29b0 (patch)
treee5abecb83bd09dc0637805c730f9c282ff758f88 /qt-ui/maintab.cpp
parent9d51326e48c87c27ee6c79e967ab398a7dd04408 (diff)
downloadsubsurface-73eceacaed02632365aae4568c7708a57c8d29b0.tar.gz
Dive site rewrite: better member name
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp5
1 files changed, 4 insertions, 1 deletions
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()