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

Andrew Walker arwalker at sumusltd.com
Mon Sep 24 21:08:16 CEST 2007


SVN commit 716477 by arwalker:

remove compiler warning

 M  +3 -3      kstdatawizard_i.cpp  
 M  +1 -1      kstdatawizard_i.h  


--- branches/work/kst/1.6/kst/src/libkstapp/kstdatawizard_i.cpp #716476:716477
@@ -774,7 +774,7 @@
 }
 
 
-void KstDataWizard::cleanupWindowLayout(KstViewObjectList &plots, KstViewWindow *window)
+void KstDataWizard::cleanupWindowLayout(KstViewWindow *window)
 {
   if (window) {
     //
@@ -1209,8 +1209,8 @@
 
     createLegendsAndLabels(plots, _xAxisLabels->isChecked(), _yAxisLabels->isChecked(), _plotTitles->isChecked(), _legendsOn->isChecked(), _legendsAuto->isChecked(), fontSize);
 
-    cleanupWindowLayout(plots, window);
-    cleanupWindowLayout(plots, windowPSD);
+    cleanupWindowLayout(window);
+    cleanupWindowLayout(windowPSD);
 
     app->slotUpdateProgress(0, 0, QString::null);
     if (!wasPaused) {
--- branches/work/kst/1.6/kst/src/libkstapp/kstdatawizard_i.h #716476:716477
@@ -75,7 +75,7 @@
   private:
     bool checkAvailableMemory(KstDataSourcePtr &ds, int f0Value, int nValue);
     void createLegendsAndLabels(KstViewObjectList &plots, bool xLabels, bool yLabels, bool titleLabel, bool legend, bool legendAuto, int fontSize);
-    void cleanupWindowLayout(KstViewObjectList &plots, KstViewWindow *window);
+    void cleanupWindowLayout(KstViewWindow *window);
 
     static const QString &defaultTag;
     QGuardedPtr<QWidget> _configWidget;


More information about the Kst mailing list