[Kst] branches/work/kst/portto4/kst/src
Mike Fenton
mike at staikos.net
Fri Sep 5 16:42:37 CEST 2008
SVN commit 857492 by fenton:
Fix QString Arg errors for Images and Matrices.
M +1 -1 libkst/datamatrix.cpp
M +4 -4 libkstmath/image.cpp
--- branches/work/kst/portto4/kst/src/libkst/datamatrix.cpp #857491:857492
@@ -574,7 +574,7 @@
" %2\n"
" Field: %3\n"
" %4 x %5"
- ).arg(Name()).arg(dataSource()->fileName()).arg(field().arg(_nX).arg(_nY));
+ ).arg(Name()).arg(dataSource()->fileName()).arg(field()).arg(_nX).arg(_nY);
}
}
--- branches/work/kst/portto4/kst/src/libkstmath/image.cpp #857491:857492
@@ -793,21 +793,21 @@
}
}
+
QString Image::_automaticDescriptiveName() const {
return matrix()->descriptiveName();
}
+
QString Image::descriptionTip() const {
QString tip;
-
tip = i18n("Image: %1\n" ).arg(Name());
if (_hasContourMap) {
- tip += i18n(" Contour Map");
+ tip += " Contour Map";
}
if (_hasColorMap) {
- tip += i18n(" Color Map");
+ tip += " Color Map";
}
-
tip += matrix()->descriptionTip();
return tip;
}
More information about the Kst
mailing list