src/messagelog.cpp

changeset 527
47c068f2e7e3
parent 514
d78fea0f664c
child 539
72ad83a67165
equal deleted inserted replaced
526:b29b6fc45ba9 527:47c068f2e7e3
86 // ============================================================================= 86 // =============================================================================
87 // Ticks the message manager. All lines are ticked and the renderer scene is 87 // Ticks the message manager. All lines are ticked and the renderer scene is
88 // redrawn if something changed. 88 // redrawn if something changed.
89 // ----------------------------------------------------------------------------- 89 // -----------------------------------------------------------------------------
90 void MessageManager::tick() 90 void MessageManager::tick()
91 { if (m_lines.size() == 0) 91 { if (m_lines.isEmpty())
92 return; 92 return;
93 93
94 bool changed = false; 94 bool changed = false;
95 95
96 for (int i = 0; i < m_lines.size(); ++i) 96 for (int i = 0; i < m_lines.size(); ++i)

mercurial