Commit 1acbe6af authored by Tobias Deiminger's avatar Tobias Deiminger

Fix compilation with QT_STRICT_ITERATORS

parent 574840c5
......@@ -94,7 +94,7 @@ void TestAnnotations::checkFontSizeAndColor()
QCOMPARE(textAnnot->textFont().pointSize(), testFont.pointSize());
QCOMPARE(static_cast<int>(textAnnot->textColor().spec()), static_cast<int>(color.spec()));
QCOMPARE(textAnnot->textColor(), color);
if (annot != annots.end())
if (annot != annots.constEnd())
++annot;
}
}
......
Markdown is supported
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