[Kst] [Bug 142700] Cross power spectrum plugin has useless default values

netterfield at astro.utoronto.ca netterfield at astro.utoronto.ca
Fri Mar 16 19:24:39 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=142700         
netterfield astro utoronto ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From netterfield astro utoronto ca  2007-03-16 19:24 -------
SVN commit 643256 by netterfield:

BUG: 142700
Use kst defaults... reviewed by George.



 M  +4 -0      crossspectrumdialog_i.cpp  


--- trunk/extragear/graphics/kst/src/plugins/crossspectrum/crossspectrumdialog_i.cpp #643255:643256
 @ -48,6 +48,7  @
 #include <vectorselector.h>
 #include <kstdefaultnames.h>
 #include <kstdataobjectcollection.h>
+#include <kstobjectdefaults.h>
 
 const QString& CrossSpectrumDialogI::defaultTag = KGlobal::staticQString("<Auto Name>");
 
 @ -268,6 +269,9  @
   _tagName->setText(defaultTag);
   _legendText->setText(defaultTag);
 
+  _w->_fft->_scalar->setCurrentText(QString::number(KST::objectDefaults.fftLen()));
+  _w->_sample->_scalar->setCurrentText(QString::number(KST::objectDefaults.psdFreq()));
+
   adjustSize();
   resize(minimumSizeHint());
   setFixedHeight(height());


More information about the Kst mailing list