Skip to content

Commit

Permalink
Merge pull request #2715 from Joern-R/streetview
Browse files Browse the repository at this point in the history
Train View - StreeView
  • Loading branch information
Joern-R committed Dec 5, 2017
2 parents db3d119 + 99d90de commit 655a7c4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Gui/GcWindowRegistry.cpp
Expand Up @@ -115,8 +115,8 @@ GcWindowRegistry::initialize()
{ VIEW_TRAIN, tr("Workout"),GcWindowTypes::WorkoutPlot },
{ VIEW_TRAIN, tr("Realtime"),GcWindowTypes::RealtimePlot },
{ VIEW_TRAIN, tr("Pedal Stroke"),GcWindowTypes::SpinScanPlot },
{ VIEW_TRAIN, tr("Map"), GcWindowTypes::MapWindow },
{ VIEW_TRAIN, tr("StreetView"), GcWindowTypes::StreetViewWindow },
// { VIEW_TRAIN, tr("Map"), GcWindowTypes::MapWindow }, // DEPRECATED for now
// { VIEW_TRAIN, tr("StreetView"), GcWindowTypes::StreetViewWindow }, // DEPRECATED for now, since it causes problems and memory leaks
{ VIEW_TRAIN, tr("Video Player"),GcWindowTypes::VideoPlayer },
{ VIEW_TRAIN, tr("Workout Editor"),GcWindowTypes::WorkoutWindow },
{ VIEW_ANALYSIS|VIEW_HOME|VIEW_TRAIN, tr("Web page"),GcWindowTypes::WebPageWindow },
Expand Down Expand Up @@ -234,7 +234,6 @@ GcWindowRegistry::newGcWindow(GcWinID id, Context *context)
case GcWindowTypes::MapWindow:
case GcWindowTypes::StreetViewWindow:
returning = new GcChartWindow(context); break;
break;
#else
case GcWindowTypes::MapWindow: returning = new MapWindow(context); break;
case GcWindowTypes::StreetViewWindow: returning = new StreetViewWindow(context); break;
Expand Down

0 comments on commit 655a7c4

Please sign in to comment.