Mercurial > hg > svgui
diff view/Overview.cpp @ 854:c17719e488c9
Fix some potential null-pointer derefs, and simplify some logic where loops were used with an unconditional "break" that meant they could only happen once (from coverity scan)
author | Chris Cannam |
---|---|
date | Wed, 03 Sep 2014 12:04:22 +0100 |
parents | 7792b7667f74 |
children | 2857e6352b06 4a578a360011 |
line wrap: on
line diff
--- a/view/Overview.cpp Wed Sep 03 11:53:43 2014 +0100 +++ b/view/Overview.cpp Wed Sep 03 12:04:22 2014 +0100 @@ -27,7 +27,8 @@ Overview::Overview(QWidget *w) : View(w, false), - m_clickedInRange(false) + m_clickedInRange(false), + m_dragCentreFrame(0) { setObjectName(tr("Overview")); m_followPan = false;