comparison src/historywidget.cpp @ 619:4f7ca2d192df

Merge
author Chris Cannam
date Tue, 03 Jul 2012 20:10:04 +0100
parents 6f90bb52eee6
children f635e227775c
comparison
equal deleted inserted replaced
618:54ca6a0e9aef 619:4f7ca2d192df
201 void HistoryWidget::update() 201 void HistoryWidget::update()
202 { 202 {
203 if (m_refreshNeeded) { 203 if (m_refreshNeeded) {
204 layoutAll(); 204 layoutAll();
205 } 205 }
206 }
207
208 void HistoryWidget::clear()
209 {
210 QGraphicsScene *oldScene = m_panned->scene();
211 m_panned->setScene(0);
212 delete oldScene;
206 } 213 }
207 214
208 void HistoryWidget::layoutAll() 215 void HistoryWidget::layoutAll()
209 { 216 {
210 m_refreshNeeded = false; 217 m_refreshNeeded = false;