Commit 3248ecca authored by Don Gagne's avatar Don Gagne

Merge pull request #989 from mavlink/mapfix

Ensure that the show event handling of the op map widget only creates on...
parents 501e3ac0 be730d31
......@@ -225,7 +225,7 @@ namespace mapcontrol
}
void OPMapWidget::showEvent(QShowEvent *event)
{
connect(&mscene,SIGNAL(sceneRectChanged(QRectF)),map,SLOT(resize(QRectF)));
connect(&mscene,SIGNAL(sceneRectChanged(QRectF)),map,SLOT(resize(QRectF)), Qt::UniqueConnection);
map->start();
QGraphicsView::showEvent(event);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment