fixed Qt5 compat

see scikit-image#1316
I agree.  I'm going to merge and make the change.