--- a/src/messagelog.cpp Tue Oct 22 19:22:15 2013 +0300 +++ b/src/messagelog.cpp Tue Oct 22 19:28:45 2013 +0300 @@ -88,7 +88,7 @@ // redrawn if something changed. // ----------------------------------------------------------------------------- void MessageManager::tick() -{ if (m_lines.size() == 0) +{ if (m_lines.isEmpty()) return; bool changed = false;