diff --git a/libs/opmapcontrol/src/mapwidget/opmapwidget.cpp b/libs/opmapcontrol/src/mapwidget/opmapwidget.cpp index ee3cc5b24895a571540491a442f67116cd78b335..23c895be7ccb1c486d8c7688c245601cfcd70b2b 100644 --- a/libs/opmapcontrol/src/mapwidget/opmapwidget.cpp +++ b/libs/opmapcontrol/src/mapwidget/opmapwidget.cpp @@ -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); }