Skip to content
Permalink
Browse files
Make theis the canvas parent
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7240 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Oct 1, 2007
1 parent ce4331b commit 587a6d7f48c64772931d9fab19b0e93d6432cbb9
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 587a6d7

Please sign in to comment.