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) |