fix define

This commit is contained in:
Jason Wen
2024-07-13 17:03:50 -04:00
parent 3c5070ce4a
commit 35faa3ba95
2 changed files with 4 additions and 4 deletions
@@ -9,10 +9,6 @@
#include "selfdrive/ui/qt/util.h"
#include "selfdrive/ui/qt/widgets/prime.h"
#ifdef ENABLE_MAPS
#include "selfdrive/ui/qt/maps/map_settings.h"
#endif
// HomeWindowSP: the container for the offroad and onroad UIs
HomeWindowSP::HomeWindowSP(QWidget* parent) : HomeWindow(parent){
QObject::connect(onroad, &OnroadWindow::mapPanelRequested, this, [=] { sidebar->hide(); });
@@ -1,6 +1,10 @@
#pragma once
#include "selfdrive/ui/qt/offroad_home.h"
#ifdef ENABLE_MAPS
#include "selfdrive/ui/qt/maps/map_settings.h"
#endif
class OffroadHomeSP : public OffroadHome {
Q_OBJECT