Skip to content

Commit

Permalink
Update qgsgpsinformationwidget.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
bettellam authored Aug 9, 2024
1 parent a7f1e8c commit 789d226
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions src/app/gps/qgsgpsinformationwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -431,24 +431,23 @@ void QgsGpsInformationWidget::displayGPSInformation( const QgsGpsInformation &in
QwtSymbol::Style symbolStyle;
switch(currentInfo.satType)
{
case 'P':
case 'N':
symbolStyle = QwtSymbol::Ellipse;
case "P":
symbolStyle = QwtSymbol::Ellipse; // GPS;
break;
case 'L':
symbolStyle = QwtSymbol::Rect;
case "L":
symbolStyle = QwtSymbol::Rect; //GLONAS;
break;
case 'B':
symbolStyle = QwtSymbol::Diamond;
case "B":
symbolStyle = QwtSymbol::Diamond; // BEIDOU;
break;
case 'A':
symbolStyle = QwtSymbol::Triangle;
case "A":
symbolStyle = QwtSymbol::Triangle; // GALILEO;
break;
case 'Q':
symbolStyle = QwtSymbol::Cross;
case "Q":
symbolStyle = QwtSymbol::Cross; // QZSS;
break;
default:
symbolStyle = QwtSymbol::Ellipse;
symbolStyle = QwtSymbol::Ellipse; // N, S;
break;
}

Expand Down

0 comments on commit 789d226

Please sign in to comment.