qt4: let the main popup menu take ownership of the sort sub-menu