Commit 37c01e46 authored by Sanjiban Bairagya's avatar Sanjiban Bairagya Committed by Sanjiban Bairagya

Proper indentation

parent 45cd1fcc
......@@ -168,23 +168,23 @@ QString Navigation::nextRoad() const
QString Navigation::nextInstructionImage() const
{
switch ( d->nextRouteSegment().maneuver().direction() ) {
case Maneuver::Unknown: return "";
case Maneuver::Continue: return "qrc:/marble/turn-continue.svg";
case Maneuver::Merge: return "qrc:/marble/turn-merge.svg";
case Maneuver::Straight: return "qrc:/marble/turn-continue.svg";
case Maneuver::SlightRight: return "qrc:/marble/turn-slight-right.svg";
case Maneuver::Right: return "qrc:/marble/turn-right.svg";
case Maneuver::SharpRight: return "qrc:/marble/turn-sharp-right.svg";
case Maneuver::TurnAround: return "qrc:/marble/turn-around.svg";
case Maneuver::SharpLeft: return "qrc:/marble/turn-sharp-left.svg";
case Maneuver::Left: return "qrc:/marble/turn-left.svg";
case Maneuver::SlightLeft: return "qrc:/marble/turn-slight-left.svg";
case Maneuver::RoundaboutFirstExit: return "qrc:/marble/turn-roundabout-first.svg";
case Maneuver::RoundaboutSecondExit: return "qrc:/marble/turn-roundabout-second.svg";
case Maneuver::RoundaboutThirdExit: return "qrc:/marble/turn-roundabout-third.svg";
case Maneuver::RoundaboutExit: return "qrc:/marble/turn-roundabout-far.svg";
case Maneuver::ExitLeft: return "qrc:/marble/turn-exit-left.svg";
case Maneuver::ExitRight: return "qrc:/marble/turn-exit-right.svg";
case Maneuver::Unknown: return "";
case Maneuver::Continue: return "qrc:/marble/turn-continue.svg";
case Maneuver::Merge: return "qrc:/marble/turn-merge.svg";
case Maneuver::Straight: return "qrc:/marble/turn-continue.svg";
case Maneuver::SlightRight: return "qrc:/marble/turn-slight-right.svg";
case Maneuver::Right: return "qrc:/marble/turn-right.svg";
case Maneuver::SharpRight: return "qrc:/marble/turn-sharp-right.svg";
case Maneuver::TurnAround: return "qrc:/marble/turn-around.svg";
case Maneuver::SharpLeft: return "qrc:/marble/turn-sharp-left.svg";
case Maneuver::Left: return "qrc:/marble/turn-left.svg";
case Maneuver::SlightLeft: return "qrc:/marble/turn-slight-left.svg";
case Maneuver::RoundaboutFirstExit: return "qrc:/marble/turn-roundabout-first.svg";
case Maneuver::RoundaboutSecondExit: return "qrc:/marble/turn-roundabout-second.svg";
case Maneuver::RoundaboutThirdExit: return "qrc:/marble/turn-roundabout-third.svg";
case Maneuver::RoundaboutExit: return "qrc:/marble/turn-roundabout-far.svg";
case Maneuver::ExitLeft: return "qrc:/marble/turn-exit-left.svg";
case Maneuver::ExitRight: return "qrc:/marble/turn-exit-right.svg";
}
return "";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment