diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-07-16 12:41:04 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-16 12:41:04 -0700 |
commit | 076f86202aab51529d99f73427a1a834a0ef5d34 (patch) | |
tree | 9c6a0041124450ea56d67b8e3c75b008b28d1eee /qt-ui/subsurfacewebservices.cpp | |
parent | f98ace681acbc3aba64779d639fef4686c6f3474 (diff) | |
download | subsurface-076f86202aab51529d99f73427a1a834a0ef5d34.tar.gz |
Change API signature to act on dive_site, not uuid
This way in the future we can pass in a pointer to a dive site that isn't
linked in our dive site list yet (i.e., while we are editing).
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/subsurfacewebservices.cpp')
-rw-r--r-- | qt-ui/subsurfacewebservices.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index cfd255b0e..fd9f2fad1 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -419,7 +419,7 @@ void SubsurfaceWebServices::buttonClicked(QAbstractButton *button) // we can update the globe if (changed) { MainWindow::instance()->globe()->repopulateLabels(); - MainWindow::instance()->globe()->centerOnDiveSite(current_dive->dive_site_uuid); + MainWindow::instance()->globe()->centerOnDiveSite(get_dive_site_by_uuid(current_dive->dive_site_uuid)); } #endif |