[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Tue Nov 11 19:37:11 CET 2003


CVS commit by staikos: 

Don't crash!
-> Signals should not be emitted here


  M +2 -0      kstdatamanager_i.cpp   1.39


--- kdeextragear-2/kst/kst/kstdatamanager_i.cpp  #1.38:1.39
@@ -261,5 +261,7 @@ QPtrStack<QListViewItem> trash;
 
   trash.setAutoDelete(true);
+  DataView->blockSignals(true);
   trash.clear();
+  DataView->blockSignals(false);
 
   for (KstDataObjectList::iterator it = KST::dataObjectList.begin();





More information about the Kst mailing list