@TedShifrin the argument is neat, I think. This is the statement: let $G$ be a profinite group and $\rho: G \to \operatorname{GL}_n(\Bbb C)$ be a continuous representation. Then the image of $\rho$ is finite. The proof of my lecturer was more elementary, but more involved, I did this:
the image is compact, so closed, thus a Lie subgroup, so in particular locally connected like all manifolds. But since the kernel is a closed subgroup of $G$, the quotient $G/\operatorname{ker}(\rho)=\operatorname{im}(f)$ is again profinite, so totally disconnected (note: continuous images of totally disconnec…