[Kst] kdeextragear-2/kst/kst
Andrew Walker
arwalker at sumusltd.com
Tue Jan 11 22:56:41 CET 2005
CVS commit by arwalker:
Remove compiler warning
M +1 -2 kstdatacollection-gui.cpp 1.18
--- kdeextragear-2/kst/kst/kstdatacollection-gui.cpp #1.17:1.18
@@ -124,5 +124,4 @@ int KST::vectorToFile(KstVectorPtr v, QF
int KST::vectorsToFile(const KstVectorList& vl, QFile *f, bool interpolate) {
KstApp *app = KstApp::inst();
- int vcnt = vl.count();
int maxlen = -1;
@@ -163,5 +162,5 @@ int KST::vectorsToFile(const KstVectorLi
f->writeBlock(ltxt.ascii(), ltxt.length());
#if QT_VERSION >= 0x030200
- ltxt.reserve(vcnt*17);
+ ltxt.reserve(vl.count()*17);
#endif
for (int line = 0; line < maxlen; ++line) {
More information about the Kst
mailing list