]> Git trees. - libqmvoc.git/commitdiff
make the tooltips work, with RMB currently
authorCarsten Niehaus <cniehaus@gmx.de>
Wed, 20 Jul 2005 11:36:21 +0000 (11:36 +0000)
committerCarsten Niehaus <cniehaus@gmx.de>
Wed, 20 Jul 2005 11:36:21 +0000 (11:36 +0000)
svn path=/trunk/KDE/kdeedu/kalzium/src/spectrum.cpp; revision=436853

kalzium/src/spectrum.cpp

index 9583f18b9a1cf0a06a15539bdcc673114b1d2e9a..ea4fbccb90ada723312e861d3adedefe6a0d38b9 100644 (file)
@@ -45,14 +45,11 @@ double Spectrum::minBand()
 
 double Spectrum::maxBand()
 {
-       kdDebug() << "Spectrum::maxBand()" << endl;
-
        double value = ( *m_bandlist.begin() ).wavelength;
        QValueList<band>::const_iterator it = m_bandlist.begin();
        const QValueList<band>::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<band>::Iterator it = m_bandlist.begin();
        const QValueList<band>::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;