From b3da88478fa5dd61a3d8d4a29917b4132d392fdc Mon Sep 17 00:00:00 2001 From: Claudiu Olteanu Date: Sun, 15 Mar 2015 15:42:05 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/globe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui') 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(); -- cgit v1.2.3-70-g09d2