KMail: support passing --cc/--bcc multiple times
This will be useful so that the upcoming KMailClientLauncherJob doesn't need the splitEmailAddressList fork and can just deal with a list of CC emails directly. Drive by: simplify --attach handling using range-for. Testing for "--" (end of options) is unnecessary, QCommandLineParser handles that.
Showing with 15 additions and 12 deletions