Fix for compatibility with PyQt4.