--- a/src/messageLog.cpp Sat Jan 28 13:49:09 2017 +0200 +++ b/src/messageLog.cpp Sat Jan 28 14:01:19 2017 +0200 @@ -78,7 +78,7 @@ void MessageManager::addLine (QString line) { // If there's too many entries, pop the excess out - while (m_lines.size() >= MaxMessages) + while (length(m_lines) >= MaxMessages) m_lines.removeFirst(); m_lines << Line (line); @@ -100,7 +100,7 @@ bool changed = false; - for (int i = 0; i < m_lines.size(); ++i) + for (int i = 0; i < length(m_lines); ++i) { bool lineChanged;