diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-05-22 12:15:53 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-05-22 12:29:39 -0700 |
commit | d4b5854f82522b1920bbfbe9e094bfa4f0bb516f (patch) | |
tree | 7735a4b9cf0821a33aad4d0c236e44b015a1e820 /qt-ui/mainwindow.cpp | |
parent | b342730ec958a6127cfef4e5459cfea96477ac42 (diff) | |
download | subsurface-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.cpp | 1 |
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(); |