floatobj.cpp
changeset 755 ed5b407975b3
parent 721 12958f987bcf
child 773 340bc29da9a0
     1.1 --- a/floatobj.cpp	Mon Apr 20 10:42:05 2009 +0000
     1.2 +++ b/floatobj.cpp	Thu Apr 23 12:15:31 2009 +0000
     1.3 @@ -11,7 +11,6 @@
     1.4  //    cout << "Const FloatObj ()\n";
     1.5      setParObj (this);	
     1.6      init();
     1.7 -    depth=-1;
     1.8  }
     1.9  
    1.10  FloatObj::FloatObj (QGraphicsScene* s):OrnamentedObj(s)
    1.11 @@ -19,14 +18,12 @@
    1.12  //	cout << "Const FloatObj (s)  called from MapCenterObj (s)\n";
    1.13      setParObj (this);	
    1.14      init();
    1.15 -    depth=-1;
    1.16  }
    1.17  
    1.18  FloatObj::FloatObj (QGraphicsScene* s, LinkableMapObj* p):OrnamentedObj (s)
    1.19  {
    1.20  //    cout << "Const FloatObj (s,p)\n";
    1.21      setParObj (p);	
    1.22 -    depth=p->getDepth()+1;
    1.23      init();
    1.24  }
    1.25