Fix typo that caused no problems with PyQT4 but does wth PyQt5