summarylogtreecommitdiffstats
path: root/0002-Setting-default-Qt5-backend-to-Cairo.patch
blob: 02fef3ec7a48d4e0fdcb8a84ad00804dd4bed562 (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 fb7e381740fcd66864e3696afddc766068941035 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 db2fac73..91ab2d7a 100644
--- a/qt5/src/poppler-private.cc
+++ b/qt5/src/poppler-private.cc
@@ -247,7 +247,7 @@ DocumentData::~DocumentData()
 
 void DocumentData::init()
 {
-    m_backend = Document::SplashBackend;
+    m_backend = Document::CairoBackend;
     paperColor = Qt::white;
     m_hints = 0;
     m_optContentModel = nullptr;
-- 
2.32.0