From f4a992a66fc63e057c696b62d2ed631416008716 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 12 Feb 2017 17:49:54 +0100 Subject: [PATCH] Added missing background color definition (OpenGL issue fix) --- src/graphview.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/graphview.cpp b/src/graphview.cpp index 4d992509..d27e2ba5 100644 --- a/src/graphview.cpp +++ b/src/graphview.cpp @@ -24,6 +24,7 @@ GraphView::GraphView(QWidget *parent) _scene = new QGraphicsScene(this); setScene(_scene); + setBackgroundBrush(QBrush(Qt::white)); setViewportUpdateMode(QGraphicsView::FullViewportUpdate); setRenderHint(QPainter::Antialiasing, true); setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);