summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-05-22 12:15:53 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-05-22 12:29:39 -0700
commitd4b5854f82522b1920bbfbe9e094bfa4f0bb516f (patch)
tree7735a4b9cf0821a33aad4d0c236e44b015a1e820 /qt-ui/mainwindow.cpp
parentb342730ec958a6127cfef4e5459cfea96477ac42 (diff)
downloadsubsurface-d4b5854f82522b1920bbfbe9e094bfa4f0bb516f.tar.gz
Location management: reflect changes to the coordinates on the map
This is a bit aggressive as it changes the globe with every single character that's entered, but it's better than what we had before. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 1557e0fcc..1e3a89dbc 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -133,6 +133,7 @@ MainWindow::MainWindow() : QMainWindow(),
connect(mainTab, SIGNAL(requestDiveSiteEdit(uint32_t)), this, SLOT(enableDiveSiteEdit(uint32_t)));
connect(locationInformation, SIGNAL(informationManagementEnded()), this, SLOT(setDefaultState()));
connect(locationInformation, SIGNAL(informationManagementEnded()), information(), SLOT(showLocation()));
+ connect(locationInformation, SIGNAL(coordinatesChanged()), globe(), SLOT(repopulateLabels()));
#ifdef NO_PRINTING
plannerDetails->printPlan()->hide();