[Kst] branches/work/kst/portto4/kst/src/libkstapp

Peter Kümmel syntheticpp at gmx.net
Wed Mar 23 18:31:56 CET 2011


SVN commit 1225824 by kuemmel:

fix crash on exit

 M  +1 -4      view.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/view.cpp #1225823:1225824
@@ -106,10 +106,7 @@
 
 
 View::~View() {
-  QList<PlotItem*> list = PlotItemManager::plotsForView(this);
-  foreach (PlotItem *plotItem, list) {
-    delete plotItem;
-  }
+  // PlotItems are QGraphicsItems and managed by Qt's graphic view
   delete _undoStack;
   delete _layoutBoxItem;
 }


More information about the Kst mailing list