Commit ada920c7 authored by Laurent Montel's avatar Laurent Montel 😁

Fix mixing const and no const

parent 9f3841f7
......@@ -254,8 +254,8 @@ AddrSpecList VacationEditWidget::mailAliases() const
QByteArray text = mMailAliasesEdit->text().toLatin1(); // ### IMAA: !ok
AddressList al;
const char *s = text.begin();
parseAddressList(s, text.end(), al);
const char *s = text.cbegin();
parseAddressList(s, text.cend(), al);
AddrSpecList asl;
AddressList::const_iterator end(al.constEnd());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment