diff -r 5378ed53ec92 -r beb875135811 mapeditor.cpp --- a/mapeditor.cpp Tue Apr 10 13:22:55 2007 +0000 +++ b/mapeditor.cpp Wed Apr 11 09:21:14 2007 +0000 @@ -536,7 +536,6 @@ } } else if (com=="colorSubtree") { - cout << "atom="<< atom.ascii()<getTotalBBox(); - QPixmap pix((int)mapRect.width(),(int)mapRect.height()); + QPixmap pix((int)mapRect.width()+2,(int)mapRect.height()+2); QPainter pp (&pix); pp.setRenderHints(renderHints()); @@ -1365,13 +1364,9 @@ xelection.unselect(); mapScene->render ( &pp, - QRectF(0,0,mapRect.width(),mapRect.height()), + QRectF(0,0,mapRect.width()+2,mapRect.height()+2), QRectF(mapRect.x(),mapRect.y(),mapRect.width(),mapRect.height() )); -// mapScene->render(&pp); // draw scene to painter - - - // Restore selection xelection.reselect();