Cleanup settings imports (#31979)

old-commit-hash: a2a372d314
pull/32199/head
James 1 year ago committed by GitHub
parent f5c64a56ce
commit 8b584d0e88
  1. 15
      selfdrive/ui/qt/offroad/settings.cc
  2. 1
      selfdrive/ui/qt/offroad/settings.h

@ -1,5 +1,3 @@
#include "selfdrive/ui/qt/offroad/settings.h"
#include <cassert> #include <cassert>
#include <cmath> #include <cmath>
#include <string> #include <string>
@ -8,21 +6,14 @@
#include <QDebug> #include <QDebug>
#include "selfdrive/ui/qt/network/networking.h"
#include "common/params.h"
#include "common/watchdog.h" #include "common/watchdog.h"
#include "common/util.h" #include "common/util.h"
#include "system/hardware/hw.h" #include "selfdrive/ui/qt/network/networking.h"
#include "selfdrive/ui/qt/widgets/controls.h" #include "selfdrive/ui/qt/offroad/settings.h"
#include "selfdrive/ui/qt/widgets/input.h" #include "selfdrive/ui/qt/qt_window.h"
#include "selfdrive/ui/qt/widgets/prime.h" #include "selfdrive/ui/qt/widgets/prime.h"
#include "selfdrive/ui/qt/widgets/scrollview.h" #include "selfdrive/ui/qt/widgets/scrollview.h"
#include "selfdrive/ui/qt/widgets/ssh_keys.h" #include "selfdrive/ui/qt/widgets/ssh_keys.h"
#include "selfdrive/ui/qt/widgets/toggle.h"
#include "selfdrive/ui/ui.h"
#include "selfdrive/ui/qt/util.h"
#include "selfdrive/ui/qt/qt_window.h"
TogglesPanel::TogglesPanel(SettingsWindow *parent) : ListWidget(parent) { TogglesPanel::TogglesPanel(SettingsWindow *parent) : ListWidget(parent) {
// param, title, desc, icon // param, title, desc, icon

@ -10,7 +10,6 @@
#include <QStackedWidget> #include <QStackedWidget>
#include <QWidget> #include <QWidget>
#include "selfdrive/ui/ui.h" #include "selfdrive/ui/ui.h"
#include "selfdrive/ui/qt/util.h" #include "selfdrive/ui/qt/util.h"
#include "selfdrive/ui/qt/widgets/controls.h" #include "selfdrive/ui/qt/widgets/controls.h"

Loading…
Cancel
Save