changeset 104 | 270593ab83b2 |
parent 0 | 7a96bd401351 |
child 113 | 3b0b9352cf49 |
1.1 --- a/floatimageobj.cpp Mon May 23 15:28:20 2005 +0000 1.2 +++ b/floatimageobj.cpp Mon May 30 05:39:10 2005 +0000 1.3 @@ -1,6 +1,5 @@ 1.4 #include "floatimageobj.h" 1.5 #include "branchobj.h" 1.6 -#include <math.h> 1.7 1.8 1.9 ///////////////////////////////////////////////////////////////// 1.10 @@ -67,7 +66,7 @@ 1.11 1.12 int FloatImageObj::z () 1.13 { 1.14 - return lrint (icon->z()); 1.15 + return qRound (icon->z()); 1.16 } 1.17 1.18 bool FloatImageObj::load (const QString &fn)