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: