[Kst]
kst_hfi_calib_branch: kdeextragear-2/kst/kst/datasources/planck
George Staikos
staikos at kde.org
Wed Nov 10 11:45:27 CET 2004
CVS commit by staikos:
possibly work around issues with getting temporary holes in data
M +3 -3 planck.cpp 1.26.2.1
--- kdeextragear-2/kst/kst/datasources/planck/planck.cpp #1.26:1.26.2.1
@@ -121,11 +121,11 @@ int PlanckSource::frameCount(const QStri
if (field.isEmpty() || _fieldList.contains(field)) {
- int maxLen = 0;
+ int minLen = 0;
for (QStringList::ConstIterator i = _fieldList.begin(); i != _fieldList.end(); ++i) {
assert(!(*i).isEmpty());
QSize sz = _planckObject->range(*i);
- maxLen = QMAX(sz.height() - sz.width() + 1, maxLen);
+ minLen = QMIN(sz.height() - sz.width() + 1, minLen);
}
- return maxLen;
+ return minLen;
}
More information about the Kst
mailing list