changeset 306:90b9cfb5b0bb

...
author Chris Cannam
date Fri, 05 Oct 2007 16:05:23 +0000
parents 013a37723c0a
children a66ff2059dae
files layer/ImageLayer.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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<View *>(i->first)->update();
+        emit modelChanged();
     }
 }