]> Git trees. - libqmvoc.git/commitdiff
make the gradient::weight work again. Add one idea to the TODO
authorCarsten Niehaus <cniehaus@gmx.de>
Sun, 29 May 2005 11:07:34 +0000 (11:07 +0000)
committerCarsten Niehaus <cniehaus@gmx.de>
Sun, 29 May 2005 11:07:34 +0000 (11:07 +0000)
svn path=/trunk/KDE/kdeedu/kalzium/src/element.cpp; revision=419408

kalzium/src/element.cpp
kalzium/src/element.h

index 593d36815fcc756848a84981709dbe7f9dd95fc1..672e50c16035ab5755b2628edbd16193f89015e8 100644 (file)
@@ -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 )
index 63de255ed4d87333a02b46d2ae0c2fa7ce55f90a..f54f5e0bbe344df4099bb31557aa1faa1d34fc72 100644 (file)
@@ -295,7 +295,7 @@ class Element{
                {
                        NOGRADIENT = 0,
                        RADIUS,
-                       WEIGHT,
+                       MASS,
                        DENSITY,
                        BOILINGPOINT,
                        MELTINGPOINT,