Mercurial > hg > svgui
comparison layer/ImageLayer.cpp @ 306:90b9cfb5b0bb
...
author | Chris Cannam |
---|---|
date | Fri, 05 Oct 2007 16:05:23 +0000 |
parents | 013a37723c0a |
children | a66ff2059dae |
comparison
equal
deleted
inserted
replaced
305:013a37723c0a | 306:90b9cfb5b0bb |
---|---|
913 | 913 |
914 QMutexLocker locker(&m_imageMapMutex); | 914 QMutexLocker locker(&m_imageMapMutex); |
915 m_images.erase(img); | 915 m_images.erase(img); |
916 for (ViewImageMap::iterator i = m_scaled.begin(); i != m_scaled.end(); ++i) { | 916 for (ViewImageMap::iterator i = m_scaled.begin(); i != m_scaled.end(); ++i) { |
917 i->second.erase(img); | 917 i->second.erase(img); |
918 const_cast<View *>(i->first)->update(); | 918 emit modelChanged(); |
919 } | 919 } |
920 } | 920 } |
921 | 921 |
922 QString | 922 QString |
923 ImageLayer::toXmlString(QString indent, QString extraAttributes) const | 923 ImageLayer::toXmlString(QString indent, QString extraAttributes) const |