changeset 106 | 4083860dd82e |
parent 0 | 7a96bd401351 |
child 113 | 3b0b9352cf49 |
1.1 --- a/floatimageobj.cpp Sun Jan 30 12:58:47 2005 +0000 1.2 +++ b/floatimageobj.cpp Tue Jun 14 09:41:37 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)