[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/kst/portto4/kst/src/widgets
From:       Peter Kümmel <syntheticpp () yahoo ! com>
Date:       2009-11-16 10:14:12
Message-ID: 1258366452.652733.21932.nullmailer () svn ! kde ! org
[Download RAW message or body]

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()));
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic