From f2e13bc391f436d7436b3c5f80ad1dd6d2fee077 Mon Sep 17 00:00:00 2001 From: grauser Date: Tue, 31 May 2016 23:01:08 +0200 Subject: [PATCH] RideMapWindow : comments in GcWindowRegistry --- src/Gui/GcWindowRegistry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gui/GcWindowRegistry.cpp b/src/Gui/GcWindowRegistry.cpp index c2d990d26..790da8f30 100644 --- a/src/Gui/GcWindowRegistry.cpp +++ b/src/Gui/GcWindowRegistry.cpp @@ -224,10 +224,10 @@ GcWindowRegistry::newGcWindow(GcWinID id, Context *context) case GcWindowTypes::MapWindow: returning = new MapWindow(context); break; case GcWindowTypes::StreetViewWindow: returning = new StreetViewWindow(context); break; #endif - //case GcWindowTypes::GoogleMap: returning = new GoogleMapControl(context); break; - //case GcWindowTypes::BingMap: returning = new BingMap(context); break; + // old maps (GoogleMap and BingMap) replaced by RideMapWindow case GcWindowTypes::GoogleMap: id=GcWindowTypes::RideMapWindow; returning = new RideMapWindow(context, RideMapWindow::GOOGLE); break; // new GoogleMapControl(context); case GcWindowTypes::BingMap: id=GcWindowTypes::RideMapWindow; returning = new RideMapWindow(context, RideMapWindow::BING); break; //returning = new BingMap(context); + case GcWindowTypes::RideMapWindow: returning = new RideMapWindow(context, RideMapWindow::BING); break; case GcWindowTypes::ActivityNavigator: returning = new RideNavigator(context); break;