diff --git a/selfdrive/ui/qt/maps/map.h b/selfdrive/ui/qt/maps/map.h index 83b0118f96..e419a9e5c0 100644 --- a/selfdrive/ui/qt/maps/map.h +++ b/selfdrive/ui/qt/maps/map.h @@ -49,8 +49,6 @@ private: void pinchTriggered(QPinchGesture *gesture); void setError(const QString &err_str); - bool m_sourceAdded = false; - bool loaded_once = false; bool allow_open = true; diff --git a/selfdrive/ui/qt/maps/map_settings.cc b/selfdrive/ui/qt/maps/map_settings.cc index 104b9d400d..8229252188 100644 --- a/selfdrive/ui/qt/maps/map_settings.cc +++ b/selfdrive/ui/qt/maps/map_settings.cc @@ -8,7 +8,6 @@ #include "selfdrive/ui/qt/widgets/scrollview.h" MapSettings::MapSettings(bool closeable, QWidget *parent) : QFrame(parent) { - close_icon = loadPixmap("../assets/icons/close.svg", {100, 100}); setContentsMargins(0, 0, 0, 0); auto *frame = new QVBoxLayout(this); diff --git a/selfdrive/ui/qt/maps/map_settings.h b/selfdrive/ui/qt/maps/map_settings.h index 5cb90a23a8..1bef04ac5d 100644 --- a/selfdrive/ui/qt/maps/map_settings.h +++ b/selfdrive/ui/qt/maps/map_settings.h @@ -62,7 +62,6 @@ private: DestinationWidget *home_widget; DestinationWidget *work_widget; std::vector widgets; - QPixmap close_icon; signals: void closeSettings();