diff options
author | Claudiu Olteanu <olteanu.claudiu@ymail.com> | 2015-03-15 15:42:05 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-03-15 07:32:29 -0700 |
commit | b3da88478fa5dd61a3d8d4a29917b4132d392fdc (patch) | |
tree | 8e3772ed38a6981efba6d2284169d347b8df7ffc /qt-ui | |
parent | ec202890b7c86cd3f6d2e5c568a8f4de2b83e793 (diff) | |
download | subsurface-b3da88478fa5dd61a3d8d4a29917b4132d392fdc.tar.gz |
Change the zoom level on globe if no coordinates are set
As flo269 suggested in bug #507, a full view of Earth would be better
when a dive has no coordinates.
Fixes #507
Reported-by: flo269
Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/globe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp index 91bb4e858..ea0c0f231 100644 --- a/qt-ui/globe.cpp +++ b/qt-ui/globe.cpp @@ -294,7 +294,7 @@ void GlobeGPS::zoomOutForNoGPS() // we show a dive with GPS location we need to zoom in again if (fixZoomTimer->isActive()) fixZoomTimer->stop(); - setZoom(1200, Marble::Automatic); + setZoom(0, Marble::Automatic); if (!needResetZoom) { needResetZoom = true; currentZoomLevel = zoom(); |