pull/24632/head
Shane Smiskol 3 years ago
parent f61d3fa55a
commit cb23a5ce98
  1. 3
      selfdrive/ui/qt/maps/map.cc
  2. 2
      selfdrive/ui/qt/maps/map.h

@ -105,6 +105,7 @@ void MapWindow::updateState(const UIState &s) {
return;
}
const SubMaster &sm = *(s.sm);
update();
if (sm.updated("liveLocationKalman")) {
auto location = sm["liveLocationKalman"].getLiveLocationKalman();
@ -200,8 +201,6 @@ void MapWindow::updateState(const UIState &s) {
route_rcv_frame = sm.rcv_frame("navRoute");
}
update();
}
void MapWindow::resizeGL(int w, int h) {

@ -13,7 +13,6 @@
#include <QScopedPointer>
#include <QString>
#include <QtGlobal>
#include <QTimer>
#include <QWheelEvent>
#include <QMap>
#include <QPixmap>
@ -92,7 +91,6 @@ private:
void pinchTriggered(QPinchGesture *gesture);
bool m_sourceAdded = false;
// QTimer* timer;
bool loaded_once = false;
bool allow_open = true;

Loading…
Cancel
Save