From: Anne-Marie Mahfouf Date: Wed, 19 Jan 2005 18:39:25 +0000 (+0000) Subject: hopefully fix compilation, please Carsten check if it's right X-Git-Tag: v3.80.2~300^2~159 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=f4f21d662e199667b281e3071042e7172e61fa65;p=libqmvoc.git hopefully fix compilation, please Carsten check if it's right CCMAIL=cniehaus@gmx.de svn path=/trunk/kdeedu/kalzium/src/element.cpp; revision=380187 --- diff --git a/kalzium/src/element.cpp b/kalzium/src/element.cpp index 27df2b6..b183ad9 100644 --- a/kalzium/src/element.cpp +++ b/kalzium/src/element.cpp @@ -98,7 +98,7 @@ const QString Element::adjustUnits( const int type ) v = i18n( "Value unknown" ); else { - if ( Prefs::energies() == 0 ) + if ( Prefs::units() == 0 ) { val*=96.6; v = QString::number( val );