mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-27 11:03:47 +08:00
fix define
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user