summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-16 09:52:24 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-16 09:52:24 -0700
commit9a5ac0d3ac14fc4088e05a523c0d82fcfaf200aa (patch)
tree272bd9c030e62d8ee1fdd9c4f0f48126a32fbc2e
parent22c83af6ad9d0fe92568653e9950e21d087ad025 (diff)
downloadsubsurface-9a5ac0d3ac14fc4088e05a523c0d82fcfaf200aa.tar.gz
Just call the member function
This code was embarrassingly indirect. Oops. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/maintab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index f86991248..bbaf170d3 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -1638,5 +1638,5 @@ void MainTab::reverseGeocode()
{
ReverseGeoLookupThread *geoLookup = ReverseGeoLookupThread::instance();
geoLookup->lookup(&displayed_dive_site);
- MainWindow::instance()->information()->updateDiveInfo();
+ updateDiveInfo();
}