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