Commit 9d772710 authored by Andreas Hartmetz's avatar Andreas Hartmetz
Browse files

Fix const / non-const iterator mismatch

Fixes the build for me. STL actually allows const and non-const
iterator comparsion, Qt containers... uh, sometimes? :>
parent 0e7b02bc
......@@ -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()) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment