]> Git trees. - libqmvoc.git/commitdiff
hopefully fix compilation, please Carsten check if it's right
authorAnne-Marie Mahfouf <annma@kde.org>
Wed, 19 Jan 2005 18:39:25 +0000 (18:39 +0000)
committerAnne-Marie Mahfouf <annma@kde.org>
Wed, 19 Jan 2005 18:39:25 +0000 (18:39 +0000)
CCMAIL=cniehaus@gmx.de

svn path=/trunk/kdeedu/kalzium/src/element.cpp; revision=380187

kalzium/src/element.cpp

index 27df2b6776add24ad825d0e0be9678251ab627d2..b183ad9ca4ddcb1a62b57d40279fb5a3e9fec919 100644 (file)
@@ -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 );