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

Peter Kümmel syntheticpp at gmx.net
Sun Jan 2 18:11:18 CET 2011


SVN commit 1210922 by kuemmel:

and the Qt 4.4 fix

 M  +2 -2      exportvectorsdialog.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/exportvectorsdialog.cpp #1210921:1210922
@@ -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