Apply 3 suggestion(s) to 2 file(s)

This commit is contained in:
DevTekVE
2024-07-14 19:24:40 +00:00
parent ba1c47b320
commit 66be7afbdb
2 changed files with 3 additions and 4 deletions
+3 -3
View File
@@ -28,8 +28,8 @@ TogglesPanel::TogglesPanel(SettingsWindow *parent) : ListWidget(parent) {
std::vector<std::tuple<QString, QString, QString, QString>> toggle_defs{
{
"OpenpilotEnabledToggle",
tr("Enable openpilot"),
tr("Use the openpilot system for adaptive cruise control and lane keep driver assistance. Your attention is required at all times to use this feature. Changing this setting takes effect when the car is powered off."),
tr("Enable sunnypilot"),
tr("Use the sunnypilot system for adaptive cruise control and lane keep driver assistance. Your attention is required at all times to use this feature. Changing this setting takes effect when the car is powered off."),
"../assets/offroad/icon_openpilot.png",
},
{
@@ -299,7 +299,7 @@ DevicePanel::DevicePanel(SettingsWindow *parent) : ListWidget(parent) {
void DevicePanel::updateCalibDescription() {
QString desc =
tr("sunnypilot requires the device to be mounted within 4° left or right and "
"within 5° up or 9° down. openpilot is continuously calibrating, resetting is rarely required.");
"within 5° up or 9° down. sunnypilot is continuously calibrating, resetting is rarely required.");
std::string calib_bytes = params.get("CalibrationParams");
if (!calib_bytes.empty()) {
try {
-1
View File
@@ -75,7 +75,6 @@ void MainWindow::closeSettings() {
if (uiState()->scene.started) {
homeWindow->showSidebar(false);
//TODO: TBD if it's worth it to create our own sp_priv_window.cc to have it split from the OG code and not have preprocessor defs in the OG code, at least not the cc
#ifdef SUNNYPILOT
// Map is always shown when using navigate on openpilot
if (uiState()->scene.navigate_on_openpilot_deprecated) {