[Kst] branches/kst/1.2/kst/kst
George Staikos
staikos at kde.org
Thu Apr 6 22:06:05 CEST 2006
SVN commit 527082 by staikos:
don't give false errors for skip < 1
M +2 -2 datawizard.ui.h
--- branches/kst/1.2/kst/kst/datawizard.ui.h #527081:527082
@@ -529,7 +529,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);
@@ -555,7 +555,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