[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdeedu/kalzium/src
From:       Carsten Niehaus <cniehaus () gmx ! de>
Date:       2006-01-04 11:51:24
Message-ID: 1136375484.237595.29960.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 494233 by cniehaus:

* Autsch. Of course both melting- AND boilingpoint needs to be
  < 295.0 Kelvin. Some elements have an known boiling- but unknown
  meltingpoint or vice-versa. Therefore, those elements where displayed
  as gasoline even though (for example) the meltingpoint was something
  like a 1000 Kelvin...


 M  +1 -1      element.cpp  


--- branches/KDE/3.5/kdeedu/kalzium/src/element.cpp #494232:494233
@@ -209,7 +209,7 @@
 			v = i18n( "Value unknown" );
 		else
 		{
-			if ( boiling() < 295.0 )//gasoline
+			if ( boiling() < 295.0 && melting() < 295.0)//gasoline
 			{
 				v = i18n( "%1 g/L" ).arg( QString::number( val ) );
 			}
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic