fixed Qt5 compat
Merge pull request #2 from flying-sheep/pyqt5

fixed Qt5 compat