[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Sun May 25 21:02:31 CEST 2003
CVS commit by staikos:
misc cleanups
M +0 -3 kstdoc.h 1.10
M +4 -4 main.cpp 1.16
--- kdeextragear-2/kst/kst/kstdoc.h #1.9:1.10
@@ -121,6 +120,4 @@ public:
/** The list of plugins which are in use */
static KstPluginList pluginList;
-
- //KApplication *app;
private:
--- kdeextragear-2/kst/kst/main.cpp #1.15:1.16
@@ -157,8 +157,8 @@ void CreatePlots(KstDoc *doc, struct InT
for (i_plot=0; i_plot < in.n_plots; i_plot++) {
plot = new KstPlot(QString("P") + QString::number(i_plot),
- &(doc->scalarList),
- 1.0/(double)in.n_cols, 1.0/(double)in.n_rows,
- ((double)(i_plot%in.n_cols)/(double)in.n_cols),
- (double)(i_plot/in.n_cols)/(double)in.n_rows);
+ &KstDoc::scalarList,
+ 1.0/double(in.n_cols), 1.0/double(in.n_rows),
+ double(i_plot%in.n_cols)/double(in.n_cols),
+ double(i_plot/in.n_cols)/double(in.n_rows));
size_boost = (in.n_rows + in.n_cols)/2-1;
More information about the Kst
mailing list