diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:18:52 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:18:52 +0000 |
commit | 648ba4a456d3aad2825193ff8f3bd52a875783b5 (patch) | |
tree | 0b50d2253a0c85238cc4dcba5c4f949de3f0eb15 /kalzium/src/orbitswidget.cpp | |
parent | 98a12d05a48814bec3870b9a6d5865475cfa1c95 (diff) | |
download | tdeedu-648ba4a456d3aad2825193ff8f3bd52a875783b5.tar.gz tdeedu-648ba4a456d3aad2825193ff8f3bd52a875783b5.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1212481 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalzium/src/orbitswidget.cpp')
-rw-r--r-- | kalzium/src/orbitswidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kalzium/src/orbitswidget.cpp b/kalzium/src/orbitswidget.cpp index 2ab82731..06824c0f 100644 --- a/kalzium/src/orbitswidget.cpp +++ b/kalzium/src/orbitswidget.cpp @@ -162,7 +162,7 @@ void OrbitsWidget::getNumberOfOrbits() int cut = 0; bool cont = true; - if ( !o.tqcontains( rxb ) ) //only true for H and He + if ( !o.contains( rxb ) ) //only true for H and He numOfElectrons.append( o.toInt() ); else //every other element { @@ -175,7 +175,7 @@ void OrbitsWidget::getNumberOfOrbits() o = o.right( cut ); num++; - if ( !o.tqcontains( rxb ) ) + if ( !o.contains( rxb ) ) { numOfElectrons.append( o.toInt() ); cont = false; |