mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 00:05:59 +08:00
ui/map: remove unused variables (#29098)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -62,7 +62,6 @@ private:
|
||||
DestinationWidget *home_widget;
|
||||
DestinationWidget *work_widget;
|
||||
std::vector<DestinationWidget *> widgets;
|
||||
QPixmap close_icon;
|
||||
|
||||
signals:
|
||||
void closeSettings();
|
||||
|
||||
Reference in New Issue
Block a user