From ee9bc8cf084b642814aeb810bce48e5836d0a889 Mon Sep 17 00:00:00 2001 From: Comma Device Date: Sun, 28 Mar 2021 23:41:56 -0700 Subject: [PATCH] fix offroadTransition signal name old-commit-hash: 624065cb5b0290c85533f40492b709e0822251e9 --- selfdrive/ui/qt/offroad/settings.cc | 2 +- selfdrive/ui/qt/offroad/settings.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/ui/qt/offroad/settings.cc b/selfdrive/ui/qt/offroad/settings.cc index abe2c0238..7e9645422 100644 --- a/selfdrive/ui/qt/offroad/settings.cc +++ b/selfdrive/ui/qt/offroad/settings.cc @@ -114,7 +114,7 @@ DevicePanel::DevicePanel(QWidget* parent) : QWidget(parent) { for(auto &btn : offroad_btns){ device_layout->addWidget(horizontal_line()); - QObject::connect(parent, SIGNAL(offroadTransitions(bool)), btn, SLOT(setEnabled(bool))); + QObject::connect(parent, SIGNAL(offroadTransition(bool)), btn, SLOT(setEnabled(bool))); device_layout->addWidget(btn); } diff --git a/selfdrive/ui/qt/offroad/settings.hpp b/selfdrive/ui/qt/offroad/settings.hpp index d1719b646..a3ecdeb46 100644 --- a/selfdrive/ui/qt/offroad/settings.hpp +++ b/selfdrive/ui/qt/offroad/settings.hpp @@ -39,7 +39,7 @@ public: signals: void closeSettings(); - void offroadTransitions(bool offroad); + void offroadTransition(bool offroad); void reviewTrainingGuide(); private: