From: Carsten Niehaus Date: Sun, 29 May 2005 11:07:34 +0000 (+0000) Subject: make the gradient::weight work again. Add one idea to the TODO X-Git-Tag: v3.80.2~300^2~137 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=10b3a2b7181ed7967f980a1aa1a627c6d01c9282;p=libqmvoc.git make the gradient::weight work again. Add one idea to the TODO svn path=/trunk/KDE/kdeedu/kalzium/src/element.cpp; revision=419408 --- diff --git a/kalzium/src/element.cpp b/kalzium/src/element.cpp index 593d368..672e50c 100644 --- a/kalzium/src/element.cpp +++ b/kalzium/src/element.cpp @@ -169,7 +169,7 @@ const QString Element::adjustUnits( const int type ) } } } - else if ( type == WEIGHT ) // its a mass + else if ( type == MASS ) // its a mass { val = mass(); if ( val == -1 ) diff --git a/kalzium/src/element.h b/kalzium/src/element.h index 63de255..f54f5e0 100644 --- a/kalzium/src/element.h +++ b/kalzium/src/element.h @@ -295,7 +295,7 @@ class Element{ { NOGRADIENT = 0, RADIUS, - WEIGHT, + MASS, DENSITY, BOILINGPOINT, MELTINGPOINT,