Another Qt 4.6 build fix
Fix compilation errors on Qt 4.5