Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/qtapp/rtknavi_qt/navimain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1720,12 +1720,12 @@ void MainWindow::drawSolutionPlot(QLabel *plot, int type, int freq)
drawText(c, w / 2 + x, 1, s2, Qt::darkGray, 1, 2);
}
} else if (type == 1) { // snr plot rover
drawSnr(c, w, h - topMargin, 0, topMargin, 0, type);
drawSnr(c, w, h - topMargin, 0, topMargin, 0, freq);
s1 = tr("Rover %L1 SNR (dBHz)").arg(fstr[freq]);
drawText(c, x, 1, s1, Qt::darkGray, 1, 2);
} else if (type == 2) { // skyplot rover
drawSatellites(c, w, h, 0, 0, 0, type);
s1 = tr("Rover %L1").arg(fstr[type]);
drawSatellites(c, w, h, 0, 0, 0, freq);
s1 = tr("Rover %L1").arg(fstr[freq]);
drawText(c, x, 1, s1, Qt::darkGray, 1, 2);
} else if (type == 3) { // skyplot+snr plot rover
s1 = tr("Rover %L1").arg(fstr[freq]);
Expand Down Expand Up @@ -1921,7 +1921,7 @@ void MainWindow::drawSatellites(QPainter &c, int w, int h, int x0, int y0,
radius = QFontMetrics(optDialog->panelFont).height();

c.setBrush(!validSatellites[index][k] ? Color::Silver :
(freq < NFREQ ? snrColor(snr[freq]) : color_sys[sysIdx]));
(freq < NFREQ + 1 ? snrColor(snr[freq]) : color_sys[sysIdx]));
c.setPen(Qt::darkGray);
color_text = Qt::white;
if (freq < NFREQ + 1 && snr[freq] <= 0) {
Expand Down