summarylogtreecommitdiffstats
path: root/0002-Setting-default-Qt5-backend-to-Cairo.patch
blob: e4619a4b4fe5a01804e3409e0120291f7bdf722d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 23596f958390cdbd88150d14f603d2283a0d5a90 Mon Sep 17 00:00:00 2001
From: Paul Gideon Dann <pdgiddie@gmail.com>
Date: Wed, 4 Apr 2018 16:37:38 +0100
Subject: [PATCH 2/3] Setting default Qt5 backend to Cairo

---
 qt5/src/poppler-private.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qt5/src/poppler-private.cc b/qt5/src/poppler-private.cc
index 228d8e8e..eb219a8e 100644
--- a/qt5/src/poppler-private.cc
+++ b/qt5/src/poppler-private.cc
@@ -252,7 +252,7 @@ DocumentData::~DocumentData()
 
 void DocumentData::init()
 {
-    m_backend = Document::SplashBackend;
+    m_backend = Document::CairoBackend;
     paperColor = Qt::white;
     m_hints = 0;
     m_optContentModel = nullptr;
-- 
2.38.0