fix editor key for qt4.8/5.1