QList<Message>::const_iterator msgListEnd = msgList.constEnd();
while (msgIter != msgListEnd) {
backlog << qVariantFromValue(*msgIter);
QList<Message>::const_iterator msgListEnd = msgList.constEnd();
while (msgIter != msgListEnd) {
backlog << qVariantFromValue(*msgIter);