[Kst] branches/work/kst/portto4/kst/src/widgets
    Peter Kümmel 
    syntheticpp at yahoo.com
       
    Mon Nov 16 11:14:12 CET 2009
    
    
  
SVN commit 1049955 by kuemmel:
Fix assert in Qt: first init then draw
 M  +3 -2      curveappearance.cpp  
--- branches/work/kst/portto4/kst/src/widgets/curveappearance.cpp #1049954:1049955
@@ -21,11 +21,12 @@
 
 CurveAppearance::CurveAppearance(QWidget *parent)
   : QWidget(parent) {
-  setupUi(this);
-  drawSampleLine();
+  setupUi(this);  
   populatePointSymbolCombo();
   populateLineStyleCombo();
 
+  drawSampleLine();
+
   connect(_showPoints, SIGNAL(stateChanged(int)), this, SLOT(enableSettings()));
   connect(_showLines, SIGNAL(stateChanged(int)), this, SLOT(enableSettings()));
   connect(_showBars, SIGNAL(stateChanged(int)), this, SLOT(enableSettings()));
    
    
More information about the Kst
mailing list