mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-30 15:52:12 +01:00
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@747 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
c537df4ade
commit
f536e7ef54
@ -37,11 +37,8 @@ namespace qmapcontrol
|
|||||||
|
|
||||||
mousepressed = false;
|
mousepressed = false;
|
||||||
|
|
||||||
connect(ImageManager::instance(), SIGNAL(imageReceived()),
|
connect(ImageManager::instance(), SIGNAL(imageReceived()), this, SLOT(updateRequestNew()));
|
||||||
this, SLOT(updateRequestNew()));
|
connect(ImageManager::instance(), SIGNAL(loadingFinished()), this, SLOT(loadingFinished()));
|
||||||
|
|
||||||
connect(ImageManager::instance(), SIGNAL(loadingFinished()),
|
|
||||||
this, SLOT(loadingFinished()));
|
|
||||||
|
|
||||||
this->setMaximumSize(size.width()+1, size.height()+1);
|
this->setMaximumSize(size.width()+1, size.height()+1);
|
||||||
}
|
}
|
||||||
@ -73,8 +70,7 @@ namespace qmapcontrol
|
|||||||
|
|
||||||
void MapControl::followGeometry(const Geometry* geom) const
|
void MapControl::followGeometry(const Geometry* geom) const
|
||||||
{
|
{
|
||||||
connect(geom, SIGNAL(positionChanged(Geometry*)),
|
connect(geom, SIGNAL(positionChanged(Geometry*)), this, SLOT(positionChanged(Geometry*)));
|
||||||
this, SLOT(positionChanged(Geometry*)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MapControl::positionChanged(Geometry* geom)
|
void MapControl::positionChanged(Geometry* geom)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user