From f28a50f58f6f9addaeb287b7757af567c7eeb3b2 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 18 May 2024 01:34:54 -0500 Subject: [PATCH] wip --- selfdrive/ui/qt/onroad.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/onroad.cc b/selfdrive/ui/qt/onroad.cc index bb66499..ef6a65f 100755 --- a/selfdrive/ui/qt/onroad.cc +++ b/selfdrive/ui/qt/onroad.cc @@ -445,7 +445,7 @@ void AnnotatedCameraWidget::drawHud(QPainter &p) { // } // Todo: needs to be changed to calculate off of actual speed limit for release - QString speedLimitStr = QString(paramsMemory.getInt("CarSpeedLimitLiteral")); + QString speedLimitStr = QString::number(paramsMemory.getInt("CarSpeedLimitLiteral")); drawSpeedWidget(p, 60, 45 + (225), QString("Limit"), speedLimitStr, QColor(0xff, 0xff, 0xff)); // Todo: lead speed