Fix crash when closing the "new event" dialog in korganizer. #6  0xb643aefb in Q3GroupBox (this=0x8620c08, strips=1, orientation=Qt::Horizontal, title=@0xbf941690, parent=0x861fb60, name=0x0) #7  0xb73dce86 in KDLegendWidget::clearLegend (this=0x861e768) at /d/kde/src/4/kdepim/kdgantt/KDGanttViewSubwidgets.cpp:3150 #8  0xb73a8835 in KDGanttView::clearLegend (this=0x861c7f8) at /d/kde/src/4/kdepim/kdgantt/KDGanttView.cpp:1994 #9  0xb73aaff9 in KDGanttView::clearAll (this=0x861c7f8) at /d/kde/src/4/kdepim/kdgantt/KDGanttView.cpp:4898 #10 0xb73ab2f8 in ~KDGanttView (this=0x861c7f8) at /d/kde/src/4/kdepim/kdgantt/KDGanttView.cpp:262 #11 0xb7ee9d40 in QObjectPrivate::deleteChildren (this=0x849ea58) at kernel/qobject.cpp:1823 TODO: check that this leaves no memleaks...
Fix crash when closing the "new event" dialog in korganizer.
#6  0xb643aefb in Q3GroupBox (this=0x8620c08, strips=1, orientation=Qt::Horizontal, title=@0xbf941690, parent=0x861fb60, name=0x0)
#7  0xb73dce86 in KDLegendWidget::clearLegend (this=0x861e768) at /d/kde/src/4/kdepim/kdgantt/KDGanttViewSubwidgets.cpp:3150
#8  0xb73a8835 in KDGanttView::clearLegend (this=0x861c7f8) at /d/kde/src/4/kdepim/kdgantt/KDGanttView.cpp:1994
#9  0xb73aaff9 in KDGanttView::clearAll (this=0x861c7f8) at /d/kde/src/4/kdepim/kdgantt/KDGanttView.cpp:4898
#10 0xb73ab2f8 in ~KDGanttView (this=0x861c7f8) at /d/kde/src/4/kdepim/kdgantt/KDGanttView.cpp:262
#11 0xb7ee9d40 in QObjectPrivate::deleteChildren (this=0x849ea58) at kernel/qobject.cpp:1823
TODO: check that this leaves no memleaks...

svn path=/trunk/KDE/kdepim/; revision=629144

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi