In Qt 4.5.2, this function works just nicely, but in Qt 4.6.3 or 4.7.0 it always returns true.
Testet on xp and windows 7 with Visual Studio 2005 and 2008.

Something i'ved missed about this function??