# HG changeset patch # User Chris Cannam # Date 1172507532 0 # Node ID 305c129a2c4fe66606053ca2aa095a86725aef14 # Parent 6969f21da18a1828f30166a2076685cbd5281939 * ensure view cache is discarded when overlay level changes diff -r 6969f21da18a -r 305c129a2c4f view/View.cpp --- a/view/View.cpp Mon Feb 26 14:55:08 2007 +0000 +++ b/view/View.cpp Mon Feb 26 16:32:12 2007 +0000 @@ -266,6 +266,8 @@ void View::overlayModeChanged() { + delete m_cache; + m_cache = 0; update(); }