Fin de l'utilisation du mode QGraphicsView::CacheBackground afin de ne pas provoquer un bug de rendu lorsque le RubberBand passe en dehors du sceneRect

cf http://bugreports.qt.nokia.com/browse/QTBUG-4368


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@792 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2009-11-15 23:19:26 +00:00
parent eb4ad5ab91
commit 25d90e4f7d

View File

@@ -40,7 +40,6 @@
DiagramView::DiagramView(Diagram *diagram, QWidget *parent) : QGraphicsView(parent), is_adding_text(false) {
setAttribute(Qt::WA_DeleteOnClose, true);
setInteractive(true);
setCacheMode(QGraphicsView::CacheBackground);
// active l'antialiasing
setRenderHint(QPainter::Antialiasing, true);