--- a/src/messagelog.cpp Fri Oct 18 18:12:23 2013 +0300 +++ b/src/messagelog.cpp Fri Oct 18 18:16:54 2013 +0300 @@ -74,7 +74,7 @@ void MessageManager::addLine (str line) { // If there's too many entries, pop the excess out while (m_lines.size() >= g_maxMessages) - m_lines.erase (0); + m_lines.removeFirst(); m_lines << Line (line);