summaryrefslogtreecommitdiff
path: root/office/lumina-pdf/lumina-pdf.patch
diff options
context:
space:
mode:
authorChris Abela <kristofru@gmail.com>2019-09-14 11:16:01 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-14 11:16:08 +0700
commit8c8d3460982c0eac8d5606d855d4b79b31b6a59f (patch)
tree7d1ae59d05b693a9a9490b629d3bb463918d289d /office/lumina-pdf/lumina-pdf.patch
parent8d231b4da215b3a253f9c1e3da6471389f566d5a (diff)
downloadslackbuilds-8c8d3460982c0eac8d5606d855d4b79b31b6a59f.tar.gz
office/lumina-pdf: Added (PDF Viewer).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/lumina-pdf/lumina-pdf.patch')
-rw-r--r--office/lumina-pdf/lumina-pdf.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/office/lumina-pdf/lumina-pdf.patch b/office/lumina-pdf/lumina-pdf.patch
new file mode 100644
index 0000000000..6e78576c07
--- /dev/null
+++ b/office/lumina-pdf/lumina-pdf.patch
@@ -0,0 +1,23 @@
+diff -Naur lumina-pdf/src-qt5/Renderer-poppler.cpp lumina-pdf-patched/src-qt5/Renderer-poppler.cpp
+--- lumina-pdf/src-qt5/Renderer-poppler.cpp 2019-08-21 11:46:01.653515619 +0000
++++ lumina-pdf-patched/src-qt5/Renderer-poppler.cpp 2019-08-23 10:54:36.334600721 +0000
+@@ -70,7 +70,7 @@
+ } // invalid password
+ }
+ // qDebug() << "Opening File:" << path;
+- doctitle = DOC->title();
++ // doctitle = DOC->title();
+ if (doctitle.isEmpty()) {
+ doctitle = path.section("/", -1);
+ }
+diff -Naur lumina-pdf/src-qt5/drawablepage.h lumina-pdf-patched/src-qt5/drawablepage.h
+--- lumina-pdf/src-qt5/drawablepage.h 2019-08-21 11:46:01.653515619 +0000
++++ lumina-pdf-patched/src-qt5/drawablepage.h 2019-08-23 10:48:00.544733374 +0000
+@@ -4,6 +4,7 @@
+ #include <QImage>
+ #include <QSize>
+ #include <poppler/qt5/poppler-qt5.h>
++#include <memory>
+
+ namespace LuminaPDF {
+