diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2015-06-07 09:10:01 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-07 08:04:37 -0700 |
commit | 48d2d4a94252f1b2baec6fcdb95cb8e714bbeaef (patch) | |
tree | da753b4fdd4ce4217ca6dae9e328174deebecac0 | |
parent | dd5e221388f46dacbceaed1070bb28950e55405c (diff) | |
download | subsurface-48d2d4a94252f1b2baec6fcdb95cb8e714bbeaef.tar.gz |
Do not connect to same signal/slot twice
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/mainwindow.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 70c4231f0..04a4e8467 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -143,7 +143,6 @@ MainWindow::MainWindow() : QMainWindow(), connect(locationInformation, SIGNAL(informationManagementEnded()), this, SLOT(setDefaultState())); connect(locationInformation, SIGNAL(informationManagementEnded()), information(), SLOT(showLocation())); connect(locationInformation, SIGNAL(coordinatesChanged()), globe(), SLOT(repopulateLabels())); - connect(globeGps, SIGNAL(coordinatesChanged()), locationInformation, SLOT(updateGpsCoordinates())); connect(locationInformation, SIGNAL(startEditDiveSite(uint32_t)), globeGps, SLOT(prepareForGetDiveCoordinates())); connect(locationInformation, SIGNAL(endEditDiveSite()), globeGps, SLOT(prepareForGetDiveCoordinates())); connect(information(), SIGNAL(diveSiteChanged(uint32_t)), globeGps, SLOT(centerOnDiveSite(uint32_t))); |