From 4f7ed63656f1c15db044aad4590c67a0af8b9474 Mon Sep 17 00:00:00 2001 From: Carsten Niehaus Date: Sun, 3 Feb 2008 15:52:24 +0000 Subject: [PATCH] Use the new stuff in the test svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=770393 --- libscience/tests/spectrumreadingtests.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); } } -- 2.47.3