Bug 120567

Summary: Kalzium schows an abundance of 12ppm for all elements
Product: [Applications] kalzium Reporter: Volker Hemmann <volkerarmin>
Component: generalAssignee: Kalzium Developers <kalzium>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Volker Hemmann 2006-01-21 20:34:53 UTC
Version:           1.4.2 (3.5) (using KDE KDE 3.5.1)
Installed from:    Gentoo Packages
Compiler:          gcc 3.4.5 some parts of KDE 3.5 were compiled with 3.4.4
OS:                Linux

Hi,

when I click on an element to get the detailed view, and select 'verschiedenes' (my choosen language is german, should be 'miscellaneous' in english), it shows an abundance of 12 ppm for each and every element:

Abundance in crustal rocks: 12 ppm
Comment 1 Volker Hemmann 2006-01-21 20:46:01 UTC
Hi,

emm: using  KDE 3.5.1

no, using 3.5.0

....
Comment 2 Pino Toscano 2006-01-22 00:48:53 UTC
SVN commit 501065 by pino:

12.
Strange number.
I wonder where it came from...

BUG: 120567

(no need to forward port to trunk, as there there is another way of storing element datas)


 M  +1 -1      element.h  


--- branches/KDE/3.5/kdeedu/kalzium/src/element.h #501064:501065
@@ -235,7 +235,7 @@
 		 * @return the abundance in crustal rocks in parts per million
 		 */
 		int abundance() const {
-			return 12;
+			return m_abundance;
 		}
 		
 		/**
Comment 3 Volker Hemmann 2006-02-02 12:44:38 UTC
Hi,

in KDE 3.5.1/Kalzium 1.4.3 the bug is still there.

Was the fix to late for it? Will it come with 3.5.2?
Comment 4 cniehaus 2006-02-02 18:17:37 UTC
Yes, the fix was two days too late for KDE 3.5.1, sorry for that. I can give 
you the patch, if you want.
Comment 5 Volker Hemmann 2006-02-02 18:19:34 UTC
Hi,

that is not necessary, I can wait until 3.5.2 is out :)

It was more of a 'I hope it did not got lost in the dephts of svn' question ;)
Comment 6 cniehaus 2006-02-02 19:39:54 UTC
No, that is the reason why I always ask my users to report bugs via 
bugs.kde.org. I am constantly reminded of them ;-)