Fix use of private method with older version of pyqt4 for python2

this bug does not happen for me on archlinux but happen on mac or on ubuntu 12.04