diff -r 5db8dfd30ea2 -r c2a05fa925a1 xml.cpp --- a/xml.cpp Thu Nov 23 16:18:26 2006 +0000 +++ b/xml.cpp Fri Dec 08 20:18:56 2006 +0000 @@ -87,7 +87,7 @@ if (!atts.value( "backgroundColor").isEmpty() ) { col.setNamedColor(atts.value("backgroundColor")); - mc->getCanvas()->setBackgroundColor(col); + mc->getScene()->setBackgroundBrush(col); } if (!atts.value( "linkColorHint").isEmpty() ) { @@ -590,7 +590,7 @@ lastFloat->setFloatExport (false); } if (!a.value( "zPlane").isEmpty() ) - lastFloat->setZ (a.value("zPlane").toInt ()); + lastFloat->setZValue (a.value("zPlane").toInt ()); int x,y; bool okx,oky; if (!a.value( "relPosX").isEmpty() ) @@ -627,7 +627,7 @@ QColor col; bool okx; bool success=false; - XLinkObj *xlo=new XLinkObj (mc->getCanvas()); + XLinkObj *xlo=new XLinkObj (mc->getScene()); if (!a.value( "color").isEmpty() ) { col.setNamedColor(a.value("color"));