[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Wed Apr 28 05:22:41 CEST 2004
CVS commit by staikos:
compile
M +2 -0 datawizard.ui 1.15
M +1 -1 datawizard.ui.h 1.16
--- kdeextragear-2/kst/kst/datawizard.ui #1.14:1.15
@@ -979,4 +979,6 @@
<include location="global" impldecl="in implementation">kiconloader.h</include>
<include location="global" impldecl="in implementation">qregexp.h</include>
+ <include location="global" impldecl="in implementation">stdlib.h</include>
+ <include location="global" impldecl="in implementation">math.h</include>
<include location="local" impldecl="in implementation">datawizard.ui.h</include>
</includes>
--- kdeextragear-2/kst/kst/datawizard.ui.h #1.15:1.16
@@ -350,5 +350,5 @@ void DataWizard::finished()
name += "'";
}
- iLength = (int)pow( 2.0, (int)ceil( log2( (double)xv->length() ) ) );
+ iLength = int(pow(2.0, int(ceil(log(double(xv->length())) / log(2)))));
KstBaseCurvePtr c = new KstPSDCurve(name, xv, 1.0, iLength, "", "", KstColorSequence::next());
if (_drawBoth->isChecked()) {
More information about the Kst
mailing list