This commit is contained in:
Your Name
2024-05-17 14:15:36 -05:00
parent 11a48b1788
commit ad47532996
2 changed files with 3 additions and 3 deletions

View File

@@ -441,7 +441,7 @@ void AnnotatedCameraWidget::drawHud(QPainter &p) {
p.restore();
if (!scene.hide_max_speed) {
drawSpeedWidget (p, 60, 45, QString("MAX"), QString("33"), QColor(0xff, 0xff, 0xff));
drawSpeedWidget (p, 60, 45, const QString("MAX"), const QString("33"), const QColor(0xff, 0xff, 0xff));
}
// Draw FrogPilot widgets
@@ -504,7 +504,7 @@ void AnnotatedCameraWidget::drawHud(QPainter &p) {
// }
// }
void AnnotatedCameraWidget::drawSpeedWidget(QPainter &p, int &x, int &y, QString &title, QString &speedLimitStr, QColor &colorSpeed) {
void AnnotatedCameraWidget::drawSpeedWidget(QPainter &p, int &x, int &y, const QString &title, const QString &speedLimitStr, QColor &colorSpeed) {
// Draw outer box + border to contain set speed and speed limit
const int sign_margin = 12;
const int us_sign_height = 186;