From 5dab3d577e76d295187d513d44c020e78f0996e9 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Tue, 27 Jul 2021 14:46:38 +0200 Subject: [PATCH] nav: update favorites/recents while onroad old-commit-hash: 94f85c615cff5177b29bbac8abb7da06af460d10 --- selfdrive/ui/qt/maps/map_settings.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/maps/map_settings.cc b/selfdrive/ui/qt/maps/map_settings.cc index ab03838bb2..0d2ea65191 100644 --- a/selfdrive/ui/qt/maps/map_settings.cc +++ b/selfdrive/ui/qt/maps/map_settings.cc @@ -98,7 +98,7 @@ MapPanel::MapPanel(QWidget* parent) : QWidget(parent) { // Fetch favorite and recent locations { std::string url = "https://api.commadotai.com/v1/navigation/" + dongle_id + "/locations"; - RequestRepeater* repeater = new RequestRepeater(this, QString::fromStdString(url), "ApiCache_NavDestinations", 30); + RequestRepeater* repeater = new RequestRepeater(this, QString::fromStdString(url), "ApiCache_NavDestinations", 30, true); QObject::connect(repeater, &RequestRepeater::receivedResponse, this, &MapPanel::parseResponse); QObject::connect(repeater, &RequestRepeater::failedResponse, this, &MapPanel::failedResponse); }