use QGraphicsView::FullViewportUpdate on TimelineViewBase

Since this appears to be necessary for all derivatives anyway, we'll add
this directly to the base class.
This commit is contained in:
itsmattkc
2020-09-28 14:21:17 +10:00
parent 909dd37cc2
commit a313fb525c
2 changed files with 11 additions and 3 deletions
@@ -46,7 +46,6 @@ TimelineView::TimelineView(Qt::Alignment vertical_alignment, QWidget *parent) :
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
setBackgroundRole(QPalette::Window);
setContextMenuPolicy(Qt::CustomContextMenu);
setViewportUpdateMode(QGraphicsView::FullViewportUpdate);
viewport()->setMouseTracking(true);
}