We consider an open quantum dot modeled by a straight hard-wall channel with a potential well. If this potential depends on the longitudinal variable only, the system exhibits embedded eigenvalues. They turn into resonances if the symmetry is violated, either by a magnetic field or by deformation of the well. We construct a perturbation theory of these resonances in the case of a weak perturbation and discuss other properties of the model.