[Kst] branches/work/kst/portto4/kst/src/libkstapp

Peter Kümmel syntheticpp at gmx.net
Sat Jan 1 12:33:16 CET 2011


SVN commit 1210607 by kuemmel:

Qt 4.4.3 fixes

 M  +2 -2      exportvectorsdialog.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/exportvectorsdialog.cpp #1210606:1210607
@@ -230,7 +230,7 @@
   out << "\n";
 
   int maxLength = 0;
-  for (int i=0; i<lengths.length(); i++) {
+  for (int i=0; i<lengths.size(); i++) {
     if (lengths.at(i)>maxLength) {
       maxLength = lengths.at(i);
     }
@@ -238,7 +238,7 @@
 
   out.setRealNumberPrecision(14);
 
-  int ncols = vectors.length();
+  int ncols = vectors.size();
   for (int row = 0; row < maxLength; row++) {
     for (int col = 0; col < ncols; col++) {
       out << " " << vectors.at(col)->interpolate(row, maxLength);


More information about the Kst mailing list