From 5ac1e95bd602a7bbd50274d26fb7c4ce9ec8edd8 Mon Sep 17 00:00:00 2001 From: ZackaryWelch Date: Tue, 20 Mar 2018 12:22:05 -0400 Subject: Disabled Properties, Find, and Bookmarks for Poppler but enabled by default for MuPDF --- src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp') diff --git a/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp b/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp index 62548f78..439fd804 100644 --- a/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp +++ b/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp @@ -107,7 +107,7 @@ QList Renderer::searchDocument(QString text, bool matchCase){ for(int j = 0; j < textList.size(); j++) { if(textList[j]->text().contains(text, (matchCase) ? Qt::CaseSensitive : Qt::CaseInsensitive)) { - TextData *t = new TextData(textList[j]->boundingBox(), i+1, text, degrees); + TextData *t = new TextData(textList[j]->boundingBox(), i+1, text); results.append(t); } } @@ -126,3 +126,5 @@ int Renderer::hashSize() { void Renderer::clearHash() { loadingHash.clear(); } + +bool Renderer::supportsExtraFeatures() { return false; } -- cgit