[Kst] kdeextragear-2/kst/kst
    George Staikos 
    staikos at kde.org
       
    Fri Jun 18 21:42:30 CEST 2004
    
    
  
CVS commit by staikos: 
another assertion failure that can go, though I'm not sure how I was able to
actually trigger it.
  M +24 -24    kst2dplot.cpp   1.101
--- kdeextragear-2/kst/kst/kst2dplot.cpp  #1.100:1.101
@@ -3258,6 +3258,6 @@ void Kst2DPlot::dropEvent(QWidget *view,
         if (p) {
           KstLabel *l = p->labelList.take(label);
+          if (l) {
           p->update();
-          assert(l);
           labelList.append(l);
 
@@ -3285,4 +3285,5 @@ void Kst2DPlot::dropEvent(QWidget *view,
           
           draw();
+          }
           static_cast<KstViewWidget*>(view)->paint();
         }
    
    
More information about the Kst
mailing list