Fix const / non-const iterator mismatch
Fixes the build for me. STL actually allows const and non-const iterator comparsion, Qt containers... uh, sometimes? :>
This commit is contained in:
parent
0e7b02bc73
commit
9d77271011
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ void ScreenShotEffect::sendReplyImages()
|
|||
{
|
||||
QList<QImage> outputImages;
|
||||
for (const QPoint &pos : qAsConst(m_orderImg)) {
|
||||
auto it = m_cacheOutputsImages.find(pos);
|
||||
auto it = m_cacheOutputsImages.constFind(pos);
|
||||
if (it != m_cacheOutputsImages.constEnd()) {
|
||||
outputImages.append(*it);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue