Skip to content

Commit b5afb2d

Browse files
authored
Merge branch 'commaai:master' into SA-master
2 parents 0761c4c + bf4d875 commit b5afb2d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

selfdrive/ui/qt/offroad/settings.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ TogglesPanel::TogglesPanel(SettingsWindow *parent) : ListWidget(parent) {
3838
{
3939
"IsLdwEnabled",
4040
"Enable Lane Departure Warnings",
41-
"Receive alerts to steer back into the lane when your vehicle drifts over a detected lane line without a turn signal activated while driving over 31mph (50kph).",
41+
"Receive alerts to steer back into the lane when your vehicle drifts over a detected lane line without a turn signal activated while driving over 31 mph (50 km/h).",
4242
"../assets/offroad/icon_warning.png",
4343
},
4444
{

selfdrive/ui/qt/onroad.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ void OnroadAlerts::paintEvent(QPaintEvent *event) {
267267

268268
// OnroadHud
269269
OnroadHud::OnroadHud(QWidget *parent) : QWidget(parent) {
270-
engage_img = QPixmap("../assets/img_chffr_wheel.png").scaled(img_size, img_size, Qt::KeepAspectRatio, Qt::SmoothTransformation);
271-
dm_img = QPixmap("../assets/img_driver_face.png").scaled(img_size, img_size, Qt::KeepAspectRatio, Qt::SmoothTransformation);
270+
engage_img = loadPixmap("../assets/img_chffr_wheel.png", {img_size, img_size});
271+
dm_img = loadPixmap("../assets/img_driver_face.png", {img_size, img_size});
272272

273273
connect(this, &OnroadHud::valueChanged, [=] { update(); });
274274
}

0 commit comments

Comments
 (0)