Fix misbehaving north arrow plugin....

git-svn-id: http://svn.osgeo.org/qgis/trunk@1968 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
timlinux 2004-09-06 21:59:17 +00:00
parent f5c62e67e6
commit 13ecb913d0

View File

@ -108,8 +108,6 @@ void Plugin::initGui()
connect(qGisInterface->getMapCanvas(), SIGNAL(renderComplete(QPainter *)), this, SLOT(renderNorthArrow(QPainter *))); connect(qGisInterface->getMapCanvas(), SIGNAL(renderComplete(QPainter *)), this, SLOT(renderNorthArrow(QPainter *)));
// Add the icon to the toolbar // Add the icon to the toolbar
qGisInterface->addToolBarIcon(myQActionPointer); qGisInterface->addToolBarIcon(myQActionPointer);
// Add the zoom previous tool to the toolbar
myQActionPointer->addTo(toolBarPointer);
refreshCanvas(); refreshCanvas();
} }