summarylogtreecommitdiffstats
path: root/0002-Setting-default-Qt5-backend-to-Cairo.patch
blob: 9b50bf6168e0d402f0d5ea6d8ac73e61e19173a1 (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 1213eaf0e4ac8605d0915b5524703a7bd1187580 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