# HG changeset patch # User insilmaril # Date 1192528402 0 # Node ID 60f0191564645b139e548e7488ee13a682ea227c # Parent 61b05137cc6fdf56041a7dec907d2f0cde01bdfe included diff -r 61b05137cc6f -r 60f019156464 branchobj.cpp --- a/branchobj.cpp Tue Sep 04 13:53:34 2007 +0000 +++ b/branchobj.cpp Tue Oct 16 09:53:22 2007 +0000 @@ -734,7 +734,7 @@ void BranchObj::setHideTmp (HideTmpMode mode) { - if (mode==HideExport && hasHiddenExportParent(this)) + if (mode==HideExport && hasHiddenExportParent()) { setVisibility (false); hidden=true; @@ -751,16 +751,16 @@ branch.at(i)->setHideTmp (mode); } -bool BranchObj::hasHiddenExportParent(BranchObj *start) +bool BranchObj::hasHiddenExportParent() { // Calls parents recursivly to // find out, if we are temp. hidden if (hideExport) return true; - BranchObj* bo=(BranchObj*)(parObj); + BranchObj* bo=(BranchObj*)parObj; if (bo) - return bo->hasHiddenExportParent(start); + return bo->hasHiddenExportParent(); else return false; } diff -r 61b05137cc6f -r 60f019156464 branchobj.h --- a/branchobj.h Tue Sep 04 13:53:34 2007 +0000 +++ b/branchobj.h Tue Oct 16 09:53:22 2007 +0000 @@ -68,7 +68,7 @@ virtual void setHeading (QString); virtual void setHideTmp (HideTmpMode); - virtual bool hasHiddenExportParent (BranchObj*); + virtual bool hasHiddenExportParent (); virtual QString saveToDir (const QString&,const QString&, const QPointF&);// Save data recursivly to tempdir virtual void addXLink (XLinkObj*); diff -r 61b05137cc6f -r 60f019156464 demos/vym-projectplan.vym Binary file demos/vym-projectplan.vym has changed