summaryrefslogtreecommitdiff
blob: 04c0df87558301d9c2c0ab6efe939a79da024ecb (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
From 56480c9c752722f6eaf9fd0fe6798a473a09d978 Mon Sep 17 00:00:00 2001
From: Laurent Montel <montel@kde.org>
Date: Wed, 30 Oct 2019 13:33:33 +0100
Subject: Make it compile against qt5.15, This enum is unused

---
 src/gui/graphicsview/gameview.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gui/graphicsview/gameview.cpp b/src/gui/graphicsview/gameview.cpp
index 603ff70..12ef2bf 100644
--- a/src/gui/graphicsview/gameview.cpp
+++ b/src/gui/graphicsview/gameview.cpp
@@ -33,7 +33,7 @@ GameView::GameView(GameScene *scene, QWidget *parent)
     setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
     setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
     setFrameStyle(QFrame::NoFrame);
-    setOptimizationFlags(QGraphicsView::DontClipPainter |
+    setOptimizationFlags(
                          QGraphicsView::DontSavePainterState |
                          QGraphicsView::DontAdjustForAntialiasing);
 
-- 
cgit v1.1