1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

LP-536 UTC is the more correct label for GNSS time + fix for the jumping number of satellites in gps widget.

The number of satellites was jumping around the screen. This was due to an unnecessary resize being called.
This commit is contained in:
Jan NIJS 2017-06-23 19:09:06 +02:00
parent 93bf673f54
commit 507ec08db8

View File

@ -81,7 +81,7 @@ void GpsDisplayWidget::setDateTime(double date, double time)
dstring2.sprintf("%06.0f", time);
dstring2.insert(dstring2.length() - 2, ":");
dstring2.insert(dstring2.length() - 5, ":");
time_value->setText(dstring1 + " " + dstring2 + " GMT");
time_value->setText(dstring1 + " " + dstring2 + " UTC");
}
void GpsDisplayWidget::setFixType(const QString &fixtype)
@ -117,7 +117,6 @@ void GpsDisplayWidget::setSVs(int sv)
temp.append(QString::number(sv));
status_value->setText(temp);
status_value->adjustSize();
}
void GpsDisplayWidget::setDOP(double hdop, double vdop, double pdop)