Skip to content
Permalink
Browse files
Make theis the canvas parent
git-svn-id: http://svn.osgeo.org/qgis/trunk@7240 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Oct 1, 2007
1 parent 21ca765 commit 8a67110867f5a0eaf133d27f8f2886f27f4e2f3e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -1206,7 +1206,7 @@ void QgisApp::setupConnections()
void QgisApp::createCanvas()
{
// "theMapCanvas" used to find this canonical instance later
mMapCanvas = new QgsMapCanvas(NULL, "theMapCanvas" );
mMapCanvas = new QgsMapCanvas(this, "theMapCanvas" );
QWhatsThis::add(mMapCanvas, tr("Map canvas. This is where raster and vector layers are displayed when added to the map"));

mMapCanvas->setMinimumWidth(10);

0 comments on commit 8a67110

Please sign in to comment.