From 8541e822f35495ec2df86fa3fb074252f23b2f03 Mon Sep 17 00:00:00 2001 From: "esrafilian.omid" Date: Mon, 18 Mar 2024 23:35:32 +0100 Subject: [PATCH] 3D View: Add support for Ardupilot, detect unavailable map tiles for the Bing provider --- src/Viewer3D/Viewer3DTileReply.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Viewer3D/Viewer3DTileReply.cc b/src/Viewer3D/Viewer3DTileReply.cc index 0733f7832e3e..2e59acd4c424 100644 --- a/src/Viewer3D/Viewer3DTileReply.cc +++ b/src/Viewer3D/Viewer3DTileReply.cc @@ -96,6 +96,12 @@ void Viewer3DTileReply::timeoutTimerEvent() // disconnect(_timeoutTimer, &QTimer::timeout, this, &Viewer3DTileReply::timeoutTimerEvent); // emit tileGiveUp(_tile); // _timeoutTimer->stop(); + // _timeoutTimer->start(15000); + disconnect(_reply, &QNetworkReply::finished, this, &Viewer3DTileReply::requestFinished); + disconnect(_reply, &QNetworkReply::errorOccurred, this, &Viewer3DTileReply::requestError); + disconnect(_timeoutTimer, &QTimer::timeout, this, &Viewer3DTileReply::timeoutTimerEvent); + emit tileGiveUp(_tile); + _timeoutTimer->stop(); }else if(_tile.data.isEmpty()){ emit tileError(_tile); prepareDownload();