diff historywidget.cpp @ 250:be483734bde5

* Make it possible for changeset items to take two or three lines of description, depending on how much there is * Some other small improvements to how changeset items are drawn (e.g. give them opaque white backgrounds)
author Chris Cannam
date Tue, 11 Jan 2011 17:58:14 +0000
parents 8fd71f570884
children f7cdd5b31aed ca6edd303c9d
line wrap: on
line diff
--- a/historywidget.cpp	Tue Jan 11 17:56:22 2011 +0000
+++ b/historywidget.cpp	Tue Jan 11 17:58:14 2011 +0000
@@ -36,6 +36,7 @@
     m_panner = new Panner;
 
     m_panned->setDragMode(QGraphicsView::ScrollHandDrag);
+    m_panned->setViewportUpdateMode(QGraphicsView::BoundingRectViewportUpdate);
 
     QGridLayout *layout = new QGridLayout;
     layout->addWidget(m_panned, 0, 0);