File: qrect.h

655   inline bool QRectF::isNull() const
656   { return w == 0. && h == 0.; }

It seems w and h are floats. Due to rounding errors this comparison is
unsafe, maybe it's better to use

655   inline bool QRectF::isNull() const
656   { return w < 0.00001 && h < 0.00001; }

im no guru, but this might get you headaches if left as is.

Also I keep getting compiler warnings about this (Qt 4.6 beta1).

Cheers!

Ariel

-- 
---
Ariel Molina Rueda
[email protected]
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to