From: Carsten Niehaus Date: Sun, 3 Feb 2008 15:52:24 +0000 (+0000) Subject: Use the new stuff in the test X-Git-Tag: v4.0.71~64 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=4f7ed63656f1c15db044aad4590c67a0af8b9474;p=libqmvoc.git Use the new stuff in the test svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=770393 --- diff --git a/libscience/tests/spectrumreadingtests.cpp b/libscience/tests/spectrumreadingtests.cpp index fa3e94e..b7891e2 100644 --- a/libscience/tests/spectrumreadingtests.cpp +++ b/libscience/tests/spectrumreadingtests.cpp @@ -42,10 +42,10 @@ int main(int argc, char *argv[]) qDebug() << "Found " << v.count() << " isotopes."; - foreach( Spectrum* i, v ){ - if ( i ) + foreach( Spectrum* s, v ){ + if ( s ) { - //kDebug() << " Isotope of " << i->parentElementSymbol() << " with a mass of " << i->mass(); + qDebug() << " Spectrum of element " << s->parentElementNumber(); } }