diff -r 9b9c7e8b9147 -r 325958acb69b mapobj.cpp --- a/mapobj.cpp Tue Jul 19 14:44:30 2005 +0000 +++ b/mapobj.cpp Mon Oct 10 11:20:25 2005 +0000 @@ -6,9 +6,8 @@ ///////////////////////////////////////////////////////////////// MapObj::MapObj () { - // TODO not used any longer... - cout << "Const MapObj (): Please set canvas somehow!!!\n"; - // canvas=actMapEditor->getCanvas(); + //qWarning ( "Const MapObj (): Please set canvas somehow!!!"); + canvas=NULL; init (); } @@ -94,7 +93,7 @@ { if (p.x() >= bbox.left() && p.x() <= bbox.right() && p.y() <= bbox.bottom() && p.y() >= bbox.top() ) - return true; + return true; return false; }