1.1 --- a/ornamentedobj.cpp Tue Apr 07 16:15:53 2009 +0000
1.2 +++ b/ornamentedobj.cpp Wed May 06 11:08:38 2009 +0000
1.3 @@ -407,13 +407,13 @@
1.4 {
1.5 QString posAttr;
1.6
1.7 - if (depth==0)
1.8 + if (treeItem->depth()==0)
1.9 posAttr=
1.10 attribut("absPosX",QString().setNum(absPos.x())) +
1.11 attribut("absPosY",QString().setNum(absPos.y()));
1.12 else
1.13 {
1.14 - if (depth==1 || typeid (*this)==typeid (FloatImageObj))
1.15 + if (treeItem->depth()==1 || typeid (*this)==typeid (FloatImageObj))
1.16 {
1.17 if (relPos.x()==0 && relPos.y()==0)
1.18 setRelPos();