Skip to content

Commit

Permalink
run OsmParser on a separate thread, docs updated
Browse files Browse the repository at this point in the history
  • Loading branch information
omid-esrafilian committed Mar 31, 2024
1 parent 0252eff commit 6dc056e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Viewer3D/Viewer3DTileReply.cc
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,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();
Expand Down

0 comments on commit 6dc056e

Please sign in to comment.