workaround for a regression in PyQt4-4.6.{0,1}
Authored by: dsdale 2009-12-31
Parent: [r8055]
Child: [r8057]