qt: fix track menu not disabled when empty