1.1 --- a/branchobj.cpp Tue Jan 23 11:50:53 2007 +0000
1.2 +++ b/branchobj.cpp Mon Feb 12 09:28:47 2007 +0000
1.3 @@ -53,16 +53,16 @@
1.4
1.5 BranchObj::~BranchObj ()
1.6 {
1.7 -// cout << "Destr BranchObj of "<<this<<endl;
1.8 + //cout << "Destr BranchObj of "<<this<<endl;
1.9 // Check, if this branch was the last child to be deleted
1.10 // If so, unset the scrolled flags
1.11
1.12 - BranchObj *po=(BranchObj*)(parObj);
1.13 + BranchObj *po=(BranchObj*)parObj;
1.14 BranchObj *bo;
1.15 if (po)
1.16 {
1.17 - bo=((BranchObj*)(parObj))->getLastBranch();
1.18 - if (!bo) po->unScroll();
1.19 + bo=((BranchObj*)parObj)->getLastBranch();
1.20 + if (bo) po->unScroll();
1.21 }
1.22 clear();
1.23 }
1.24 @@ -120,6 +120,8 @@
1.25
1.26 void BranchObj::clear()
1.27 {
1.28 + setVisibility (true);
1.29 +
1.30 while (!floatimage.isEmpty())
1.31 delete floatimage.takeFirst();
1.32