1.1 --- a/branchobj.cpp Thu Mar 26 07:50:32 2009 +0000
1.2 +++ b/branchobj.cpp Tue Mar 31 15:36:10 2009 +0000
1.3 @@ -56,7 +56,7 @@
1.4 model->stopAnimation (this);
1.5 }
1.6
1.7 - cout << "Destr BranchObj of "<<this<<endl;
1.8 + cout << "Destr BranchObj of "<<this<<" ("<<getHeading().toStdString()<<")"<<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 @@ -1382,6 +1382,7 @@
1.13 bboxTotal.setHeight(max (r.height(), bbox.height()));
1.14 }
1.15
1.16 +/*
1.17 void BranchObj::select() // FIXME-2 try to get rid of this in BO completely
1.18 {
1.19 cout << "BO::select()\n";
1.20 @@ -1402,7 +1403,7 @@
1.21 // temporary unscroll, if we have scrolled parents somewhere
1.22 if (parObj) ((BranchObj*)(parObj))->tmpUnscroll();
1.23
1.24 - /* moved to vymmodel or vymview...
1.25 + //moved to vymmodel or vymview...
1.26 // Show URL and link in statusbar
1.27 QString status;
1.28 if (!url.isEmpty()) status+="URL: "+url+" ";
1.29 @@ -1414,20 +1415,20 @@
1.30
1.31 // Update actions
1.32 model->updateActions();
1.33 +}
1.34 */
1.35 -}
1.36
1.37 +/*
1.38 void BranchObj::unselect() //FIXME-3 should not be needed
1.39 {
1.40 + cout << "BO::unselect()\n";
1.41 LinkableMapObj::unselect();
1.42 // Delete any messages like vymLink in StatusBar
1.43 mainWindow->statusMessage (""); //this causes segfault, when MainWindow is already gone in global destructor on quitting vym
1.44
1.45 -/*
1.46 // Save current note
1.47 if (isNoteInEditor) getNoteFromTextEditor();
1.48 isNoteInEditor=false;
1.49 -*/
1.50
1.51 // reset temporary unscroll, if we have scrolled parents somewhere
1.52 if (parObj) ((BranchObj*)(parObj))->resetTmpUnscroll();
1.53 @@ -1438,6 +1439,7 @@
1.54 // unselect all buttons in toolbar
1.55 standardFlagsDefault->updateToolbar();
1.56 }
1.57 +*/
1.58
1.59 QString BranchObj::getSelectString()
1.60 {