[Kst] extragear/graphics/kst/src/libkstapp
George Staikos
staikos at kde.org
Thu Apr 6 22:05:38 CEST 2006
SVN commit 527081 by staikos:
don't give false error for skip < 1
M +2 -2 datawizard.ui.h
--- trunk/extragear/graphics/kst/src/libkstapp/datawizard.ui.h #527080:527081
@@ -558,7 +558,7 @@
frames = kMin(nValue, ds->frameCount(_xVector->currentText()));
}
- if (_kstDataRange->DoSkip->isChecked()) {
+ if (_kstDataRange->DoSkip->isChecked() && _kstDataRange->Skip->value() > 0) {
memoryRequested += frames / _kstDataRange->Skip->value() * sizeof(double);
} else {
memoryRequested += frames * ds->samplesPerFrame(_xVector->currentText())*sizeof(double);
@@ -584,7 +584,7 @@
}
}
- if (_kstDataRange->DoSkip->isChecked()) {
+ if (_kstDataRange->DoSkip->isChecked() && _kstDataRange->Skip->value() > 0) {
memoryRequested += frames / _kstDataRange->Skip->value()*sizeof(double);
} else {
memoryRequested += frames * ds->samplesPerFrame(field)*sizeof(double);
More information about the Kst
mailing list