summarylogtreecommitdiffstats
path: root/0002-Setting-default-Qt5-backend-to-Cairo.patch
blob: 91cd778ff7e6322c1a1a5a095e34f59bc48f9848 (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 526eb99f3ee8977aa8796582c28252a12b6a38d0 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/2] 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 3e0f0f57..aa4025c1 100644
--- a/qt5/src/poppler-private.cc
+++ b/qt5/src/poppler-private.cc
@@ -269,7 +269,7 @@ DocumentData::~DocumentData()
 
 void DocumentData::init()
 {
-    m_backend = Document::SplashBackend;
+    m_backend = Document::CairoBackend;
     paperColor = Qt::white;
     m_hints = 0;
     m_optContentModel = nullptr;
-- 
2.47.0