[rkward-cvs] rkward/rkward/plugin rkcomponentproperties.cpp,1.23,1.24
Thomas Friedrichsmeier
tfry at users.sourceforge.net
Wed Apr 5 10:06:53 UTC 2006
Update of /cvsroot/rkward/rkward/rkward/plugin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32203
Modified Files:
rkcomponentproperties.cpp
Log Message:
Sane formatting for real numbers
Index: rkcomponentproperties.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugin/rkcomponentproperties.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** rkcomponentproperties.cpp 29 Mar 2006 16:21:51 -0000 1.23
--- rkcomponentproperties.cpp 5 Apr 2006 10:06:50 -0000 1.24
***************
*** 572,576 ****
current_value = new_value;
! _value = QString::number (current_value, 'g', precision);
is_valid = ((new_value >= validator->bottom ()) && (new_value <= validator->top ()));
if (!is_valid) current_value = default_value;
--- 572,576 ----
current_value = new_value;
! _value = QString::number (current_value, 'f', precision);
is_valid = ((new_value >= validator->bottom ()) && (new_value <= validator->top ()));
if (!is_valid) current_value = default_value;
More information about the rkward-tracker
mailing list