Mercurial > hg > svgui
comparison layer/ImageLayer.cpp @ 1481:e540aa5d89cd by-id
Update for removal of (public) getId from Model
author | Chris Cannam |
---|---|
date | Fri, 05 Jul 2019 15:34:50 +0100 |
parents | f2525e6cbdf1 |
children | 37df1530519d |
comparison
equal
deleted
inserted
replaced
1480:232262e38051 | 1481:e540aa5d89cd |
---|---|
928 | 928 |
929 QMutexLocker locker(&m_imageMapMutex); | 929 QMutexLocker locker(&m_imageMapMutex); |
930 m_images.erase(img); | 930 m_images.erase(img); |
931 for (ViewImageMap::iterator i = m_scaled.begin(); i != m_scaled.end(); ++i) { | 931 for (ViewImageMap::iterator i = m_scaled.begin(); i != m_scaled.end(); ++i) { |
932 i->second.erase(img); | 932 i->second.erase(img); |
933 emit modelChanged(); | 933 emit modelChanged(getModel()); |
934 } | 934 } |
935 } | 935 } |
936 | 936 |
937 void | 937 void |
938 ImageLayer::toXml(QTextStream &stream, | 938 ImageLayer::toXml(QTextStream &stream, |