From 10b3a2b7181ed7967f980a1aa1a627c6d01c9282 Mon Sep 17 00:00:00 2001 From: Carsten Niehaus Date: Sun, 29 May 2005 11:07:34 +0000 Subject: [PATCH] make the gradient::weight work again. Add one idea to the TODO svn path=/trunk/KDE/kdeedu/kalzium/src/element.cpp; revision=419408 --- kalzium/src/element.cpp | 2 +- kalzium/src/element.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, -- 2.47.3