diff --git a/selfdrive/ui/qt/offroad/settings.cc b/selfdrive/ui/qt/offroad/settings.cc index 175e11bb24..15e698e85c 100644 --- a/selfdrive/ui/qt/offroad/settings.cc +++ b/selfdrive/ui/qt/offroad/settings.cc @@ -199,7 +199,7 @@ DevicePanel::DevicePanel(QWidget* parent) : QWidget(parent) { )"); } -DeveloperPanel::DeveloperPanel(QWidget* parent) : QFrame(parent) { +SoftwarePanel::SoftwarePanel(QWidget* parent) : QFrame(parent) { QVBoxLayout *main_layout = new QVBoxLayout(this); setLayout(main_layout); setStyleSheet(R"(QLabel {font-size: 50px;})"); @@ -217,11 +217,11 @@ DeveloperPanel::DeveloperPanel(QWidget* parent) : QFrame(parent) { }); } -void DeveloperPanel::showEvent(QShowEvent *event) { +void SoftwarePanel::showEvent(QShowEvent *event) { updateLabels(); } -void DeveloperPanel::updateLabels() { +void SoftwarePanel::updateLabels() { Params params = Params(); std::string brand = params.getBool("Passive") ? "dashcam" : "openpilot"; QList> dev_params = { @@ -351,7 +351,7 @@ void SettingsWindow::showEvent(QShowEvent *event) { {"Device", device}, {"Network", network_panel(this)}, {"Toggles", new TogglesPanel(this)}, - {"Developer", new DeveloperPanel()}, + {"Software", new SoftwarePanel()}, }; sidebar_layout->addSpacing(45); diff --git a/selfdrive/ui/qt/offroad/settings.h b/selfdrive/ui/qt/offroad/settings.h index ce524a19a7..b0ae4875ba 100644 --- a/selfdrive/ui/qt/offroad/settings.h +++ b/selfdrive/ui/qt/offroad/settings.h @@ -30,10 +30,10 @@ public: explicit TogglesPanel(QWidget *parent = nullptr); }; -class DeveloperPanel : public QFrame { +class SoftwarePanel : public QFrame { Q_OBJECT public: - explicit DeveloperPanel(QWidget* parent = nullptr); + explicit SoftwarePanel(QWidget* parent = nullptr); protected: void showEvent(QShowEvent *event) override;