branchitem.cpp
changeset 788 78ba80b54bc4
parent 787 c6bb4fdcc55f
child 790 133e2ed6b9c5
     1.1 --- a/branchitem.cpp	Sat Aug 08 21:58:26 2009 +0000
     1.2 +++ b/branchitem.cpp	Tue Aug 18 12:39:07 2009 +0000
     1.3 @@ -11,9 +11,13 @@
     1.4  {
     1.5  	//cout << "Constr. BranchItem\n";
     1.6  
     1.7 +	if (parent==rootItem)
     1.8 +		setType (MapCenter);
     1.9 +	else
    1.10 +		setType (Branch);
    1.11 +
    1.12  	scrolled=false;
    1.13  	tmpUnscrolled=false;
    1.14 -	type=Branch;
    1.15  
    1.16  	includeImagesVer=false;
    1.17  	includeImagesHor=false;
    1.18 @@ -24,7 +28,7 @@
    1.19  
    1.20  BranchItem::~BranchItem()
    1.21  {
    1.22 -	cout << "Destr. BranchItem "<<getHeadingStd()<<endl;
    1.23 +	//cout << "Destr. BranchItem "<<getHeadingStd()<<endl;
    1.24  	if (lmo) 
    1.25  	{
    1.26  		delete lmo;