[Compbench-devel] CompBenchmarks++/Qt-4/Plan PlanDefineBatch.cpp, 1.15, 1.16
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-09-13 19:08:04
|
Update of /cvsroot/compbench/CompBenchmarks++/Qt-4/Plan In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv16240 Modified Files: PlanDefineBatch.cpp Log Message: Fixed : option group unregistering. Index: PlanDefineBatch.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/Qt-4/Plan/PlanDefineBatch.cpp,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** PlanDefineBatch.cpp 13 Sep 2007 19:00:42 -0000 1.15 --- PlanDefineBatch.cpp 13 Sep 2007 19:08:01 -0000 1.16 *************** *** 592,599 **** ! PlanDefineBatchListItem *R = B->Nearest(PIOptions); if (R) { R->takeChild(R->indexOfChild(B)); delete(R->OptionsGroup()); delete(B); --- 592,600 ---- ! PlanDefineBatchListItem *R = B->Parent(PIOptionSet); if (R) { R->takeChild(R->indexOfChild(B)); + _set->remove(B->OptionsGroup()); delete(R->OptionsGroup()); delete(B); |