old-commit-hash: 980ba1312f
980ba1312f
@ -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();