src/MessageLog.cc

changeset 642
751a8df42842
parent 639
851634b85893
child 644
93dcd1a0e4bd
equal deleted inserted replaced
641:425b169a82aa 642:751a8df42842
81 m_lines.removeFirst(); 81 m_lines.removeFirst();
82 82
83 m_lines << Line (line); 83 m_lines << Line (line);
84 84
85 // Update the renderer view 85 // Update the renderer view
86 if (getRenderer()) 86 if (renderer())
87 getRenderer()->update(); 87 renderer()->update();
88 } 88 }
89 89
90 // ============================================================================= 90 // =============================================================================
91 // Ticks the message manager. All lines are ticked and the renderer scene is 91 // Ticks the message manager. All lines are ticked and the renderer scene is
92 // redrawn if something changed. 92 // redrawn if something changed.
106 m_lines.removeAt (i--); 106 m_lines.removeAt (i--);
107 107
108 changed |= lineChanged; 108 changed |= lineChanged;
109 } 109 }
110 110
111 if (changed && getRenderer()) 111 if (changed && renderer())
112 getRenderer()->update(); 112 renderer()->update();
113 } 113 }
114 114
115 // ============================================================================= 115 // =============================================================================
116 // 116 //
117 const QList<MessageManager::Line>& MessageManager::getLines() const 117 const QList<MessageManager::Line>& MessageManager::getLines() const

mercurial