# HG changeset patch # User Chris Cannam # Date 1191600323 0 # Node ID 90b9cfb5b0bb7df073f410290e2837ddd9c1ee7e # Parent 013a37723c0a86c70bd8b44473b17c08e2416040 ... diff -r 013a37723c0a -r 90b9cfb5b0bb layer/ImageLayer.cpp --- a/layer/ImageLayer.cpp Fri Oct 05 15:52:52 2007 +0000 +++ b/layer/ImageLayer.cpp Fri Oct 05 16:05:23 2007 +0000 @@ -915,7 +915,7 @@ m_images.erase(img); for (ViewImageMap::iterator i = m_scaled.begin(); i != m_scaled.end(); ++i) { i->second.erase(img); - const_cast(i->first)->update(); + emit modelChanged(); } }