src/messagelog.cpp

changeset 539
72ad83a67165
parent 527
47c068f2e7e3
equal deleted inserted replaced
538:2f85d4d286e5 539:72ad83a67165
77 m_lines.removeFirst(); 77 m_lines.removeFirst();
78 78
79 m_lines << Line (line); 79 m_lines << Line (line);
80 80
81 // Update the renderer view 81 // Update the renderer view
82 if (renderer()) 82 if (getRenderer())
83 renderer()->update(); 83 getRenderer()->update();
84 } 84 }
85 85
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.
100 m_lines.removeAt (i--); 100 m_lines.removeAt (i--);
101 101
102 changed |= lineChanged; 102 changed |= lineChanged;
103 } 103 }
104 104
105 if (changed && renderer()) 105 if (changed && getRenderer())
106 renderer()->update(); 106 getRenderer()->update();
107 } 107 }
108 108
109 // ============================================================================= 109 // =============================================================================
110 // ----------------------------------------------------------------------------- 110 // -----------------------------------------------------------------------------
111 const QList<MessageManager::Line>& MessageManager::getLines() const 111 const QList<MessageManager::Line>& MessageManager::getLines() const

mercurial