pdfworker: don't use deprecated search overload
Tento commit je obsažen v:
rodič
4aed15f7a4
revize
60e9b029d3
@ -73,7 +73,7 @@ struct Renderer
|
|||||||
QImage img = pdfPage->renderToImage(scaleX, scaleY);
|
QImage img = pdfPage->renderToImage(scaleX, scaleY);
|
||||||
for(QString & word : wordsToHighlight)
|
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)
|
for(QRectF &rect : rects)
|
||||||
{
|
{
|
||||||
QPainter painter(&img);
|
QPainter painter(&img);
|
||||||
|
Načítá se…
Odkázat v novém úkolu
Zablokovat Uživatele