From 8280674dcf897e1f280092562a3c10e1849e1166 Mon Sep 17 00:00:00 2001 From: Carsten Niehaus Date: Wed, 20 Jul 2005 11:36:21 +0000 Subject: [PATCH] make the tooltips work, with RMB currently svn path=/trunk/KDE/kdeedu/kalzium/src/spectrum.cpp; revision=436853 --- kalzium/src/spectrum.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/kalzium/src/spectrum.cpp b/kalzium/src/spectrum.cpp index 9583f18..ea4fbcc 100644 --- a/kalzium/src/spectrum.cpp +++ b/kalzium/src/spectrum.cpp @@ -45,14 +45,11 @@ double Spectrum::minBand() double Spectrum::maxBand() { - kdDebug() << "Spectrum::maxBand()" << endl; - double value = ( *m_bandlist.begin() ).wavelength; QValueList::const_iterator it = m_bandlist.begin(); const QValueList::const_iterator itEnd = m_bandlist.end(); for (;it!=itEnd;++it) { - kdDebug() << "value: " << ( *it ).wavelength << " Current max-value: " << value << endl; if ( value < ( *it ).wavelength ) value = ( *it ).wavelength; } @@ -69,7 +66,6 @@ Spectrum* Spectrum::adjustToWavelength( double min, double max ) for ( ; it != itEnd; ++it ) { - kdDebug( ) << "WL: " << ( *it ).wavelength << endl; if ( ( *it ).wavelength < min || ( *it ).wavelength > max ) continue; @@ -83,8 +79,6 @@ Spectrum* Spectrum::adjustToWavelength( double min, double max ) void Spectrum::adjustIntensities() { - kdDebug() << "Spectrum::adjustIntensities()" << endl; - int maxInt = 0; QValueList::Iterator it = m_bandlist.begin(); const QValueList::Iterator itEnd = m_bandlist.end(); @@ -96,8 +90,6 @@ void Spectrum::adjustIntensities() maxInt = ( *it ).intensity; } - kdDebug() << "maxInt" << maxInt << endl; - //check if an adjustment is needed or not if ( maxInt == 1000 ) return; -- 2.47.3