Change connection type for MouseCoordinateChanged slot to queued to avoid recursive paint

This commit is contained in:
Dan Paulat 2024-01-08 22:13:21 -06:00
parent e2bb6563dc
commit 6cc797ca3a
2 changed files with 25 additions and 13 deletions

View file

@ -148,7 +148,17 @@ signals:
double bearing,
double pitch);
void MapStyleChanged(const std::string& styleName);
/**
* This signal is emitted when the mouse moves to a different geographic
* coordinate within the map widget. This signal is emitted during paintGL(),
* and must be connected using a connection type of queued if the slot
* triggers a repaint.
*
* @param [in] coordinate Geographic coordinate of the mouse
*/
void MouseCoordinateChanged(common::Coordinate coordinate);
void RadarSiteRequested(const std::string& id);
void RadarSiteUpdated(std::shared_ptr<config::RadarSite> radarSite);
void RadarSweepUpdated();