[Kst] extragear/graphics/kst/kst

Ted Kisner tskisner.public at gmail.com
Wed Nov 2 02:25:07 CET 2005


SVN commit 476781 by tskisner:

This is such a small change that anyone can change it back if we really need to keep the "-m" option.

 M  +4 -4      main.cpp  


--- trunk/extragear/graphics/kst/kst/main.cpp #476780:476781
@@ -48,7 +48,7 @@
 static KCmdLineOptions options[] = {
   {"F <dataFile>", I18N_NOOP("Specify data file: used to override a kst file default"), "|"},
   { "y <Y>",  I18N_NOOP("Field for Y axis (multiple allowed)"), 0 },
-  { "M <M>",  I18N_NOOP("Field for a Matrix (multiple allowed)"), 0 },
+  { "z <Z>",  I18N_NOOP("Field for a Z image (multiple allowed)"), 0 },
   { "ye <equation>",  I18N_NOOP("Equation for Y axis (multiple allowed)"), 0 },
   { "e <E>",  I18N_NOOP("Field for Y errors (multiple allowed)"), 0 },
   { "x <X>",  I18N_NOOP("Field or range for X axis"),        "INDEX"},
@@ -407,7 +407,7 @@
 
     // get Y axis columns
     ycolList = args->getOptionList("y");
-    matrixList = args->getOptionList("M");
+    matrixList = args->getOptionList("z");
     yEqList = args->getOptionList("ye");
     psdList = args->getOptionList("p");
     hsList = args->getOptionList("h");
@@ -691,8 +691,8 @@
               tag_name = KST::suggestImageName(matrix->tagName());
               QStringList palList = KPalette::getPaletteList();
               QString pal;
-              if (palList.contains("Kst Grayscale 256")) {
-                pal = QString("Kst Grayscale 256");
+              if (palList.contains("IDL 13 RAINBOW")) {
+                pal = QString("IDL 13 RAINBOW");
               } else {
                 pal = QString(*palList.at(0));
               }


More information about the Kst mailing list