qt4: fix the popup menu updating