mapobj.cpp
changeset 166 325958acb69b
parent 129 9b9c7e8b9147
child 175 728f51b71e71
     1.1 --- a/mapobj.cpp	Thu Sep 22 12:56:05 2005 +0000
     1.2 +++ b/mapobj.cpp	Mon Oct 10 11:20:25 2005 +0000
     1.3 @@ -6,9 +6,8 @@
     1.4  /////////////////////////////////////////////////////////////////
     1.5  MapObj::MapObj ()
     1.6  {
     1.7 -	// TODO not used any longer...
     1.8 -	cout << "Const MapObj (): Please set canvas somehow!!!\n";
     1.9 -    // canvas=actMapEditor->getCanvas();
    1.10 +	//qWarning ( "Const MapObj (): Please set canvas somehow!!!");
    1.11 +	canvas=NULL;
    1.12      init ();
    1.13  }
    1.14  
    1.15 @@ -94,7 +93,7 @@
    1.16  {
    1.17      if (p.x() >= bbox.left() && p.x() <= bbox.right()  
    1.18  	&& p.y() <= bbox.bottom() && p.y() >= bbox.top() )
    1.19 -	return true;
    1.20 +		return true;
    1.21      return false;	
    1.22  }
    1.23