pdfworker: don't use deprecated search overload

这个提交包含在:
Albert S. 2019-08-26 09:41:03 +02:00
父节点 a979eb1f51
当前提交 de04264eb5

查看文件

@ -70,7 +70,7 @@ struct Renderer
QImage img = pdfPage->renderToImage(scaleX, scaleY);
for(QString &word : wordsToHighlight)
{
QList<QRectF> rects = pdfPage->search(word, Poppler::Page::CaseInsensitive);
QList<QRectF> rects = pdfPage->search(word, Poppler::Page::SearchFlag::IgnoreCase);
for(QRectF &rect : rects)
{
QPainter painter(&img);