[Kst] kdeextragear-2/kst/kst

Barth Netterfield netterfield at astro.utoronto.ca
Thu Mar 10 20:37:47 CET 2005


How about if we drop the 'P?-' from the name, as I have for curves, etc 
already?

Opinions?

On Thursday 10 March 2005 14:26, Andrew Walker wrote:
> CVS commit by arwalker:
>
> When run from the command line, if curves are created one per plot, then
> label the plots P<n>-<y> where <n> is some integer (as before) and <y> is
> the name of the y-vector in some simple curve. All other cases remain as
> before.
>
> CCMAIL: 94346-done at bugs.kde.org
>
>
>   M +4 -4      main.cpp   1.103
>
>
> --- kdeextragear-2/kst/kst/main.cpp  #1.102:1.103
> @@ -555,4 +555,5 @@ int main(int argc, char *argv[]) {
>
>                    if (in.sep_plots) {
> +                    plot->setTagName(plot->tagName() + QString("-") +
> yvector->tagName()); i_plot++;
>                      if (i_plot < in.n_plots) {
> @@ -656,6 +657,5 @@ int main(int argc, char *argv[]) {
>
>                  hs = new
> KstHistogram(KST::suggestHistogramName(yvector->field()), -                
>    KstVectorPtr(yvector), min, max, N,
> -                    KST_HS_NUMBER);
> +                    KstVectorPtr(yvector), min, max, N, KST_HS_NUMBER);
>                  KstVCurvePtr vc = new
> KstVCurve(KST::suggestCurveName(hs->tagName(), true), hs->vX(), hs->vY(),
> @@ -743,5 +743,5 @@ int main(int argc, char *argv[]) {
>          kst->showQuickStartDialog();
>        }
> -      for (int i=0; i<strErrors.size(); i++) {
> +      for (size_t i=0; i<strErrors.size(); i++) {
>          KstDebug::self()->log(strErrors[i], KstDebug::Warning);
>        }
>
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst


More information about the Kst mailing list