diff -r 4244bcd9e6ea -r 325958acb69b mapobj.cpp --- a/mapobj.cpp Thu Sep 22 12:56:05 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; }