Commit 56480c9c authored by Laurent Montel's avatar Laurent Montel 😁

Make it compile against qt5.15, This enum is unused

parent 39b8c007
...@@ -33,7 +33,7 @@ GameView::GameView(GameScene *scene, QWidget *parent) ...@@ -33,7 +33,7 @@ GameView::GameView(GameScene *scene, QWidget *parent)
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setFrameStyle(QFrame::NoFrame); setFrameStyle(QFrame::NoFrame);
setOptimizationFlags(QGraphicsView::DontClipPainter | setOptimizationFlags(
QGraphicsView::DontSavePainterState | QGraphicsView::DontSavePainterState |
QGraphicsView::DontAdjustForAntialiasing); QGraphicsView::DontAdjustForAntialiasing);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment