1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@747 ebee16cc-31ac-478f-84a7-5cbb03baadba

This commit is contained in:
pip 2010-06-11 16:19:19 +00:00 committed by pip
parent c537df4ade
commit f536e7ef54

View File

@ -33,15 +33,12 @@ namespace qmapcontrol
latLonVisible(false) // cathy
{
layermanager = new LayerManager(this, size);
screen_middle = QPoint(size.width()/2, size.height()/2);
screen_middle = QPoint(size.width() / 2, size.height() / 2);
mousepressed = false;
connect(ImageManager::instance(), SIGNAL(imageReceived()),
this, SLOT(updateRequestNew()));
connect(ImageManager::instance(), SIGNAL(loadingFinished()),
this, SLOT(loadingFinished()));
connect(ImageManager::instance(), SIGNAL(imageReceived()), this, SLOT(updateRequestNew()));
connect(ImageManager::instance(), SIGNAL(loadingFinished()), this, SLOT(loadingFinished()));
this->setMaximumSize(size.width()+1, size.height()+1);
}
@ -73,8 +70,7 @@ namespace qmapcontrol
void MapControl::followGeometry(const Geometry* geom) const
{
connect(geom, SIGNAL(positionChanged(Geometry*)),
this, SLOT(positionChanged(Geometry*)));
connect(geom, SIGNAL(positionChanged(Geometry*)), this, SLOT(positionChanged(Geometry*)));
}
void MapControl::positionChanged(Geometry* geom)