Change previoux revision 44999: QGraphicsView::matrix returns a *copy* of

its matrix! Hopefully, QGraphicsView has a member function scale(), similar
to the one of QMatrix.
This commit is contained in:
Laurent Rineau 2008-08-18 15:16:34 +00:00
parent dd033c1748
commit c711f07c2d
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ MainWindow::MainWindow()
this->graphicsView->setMouseTracking(true);
// Turn the vertical axis upside down
this->graphicsView->matrix().scale(1, -1);
this->graphicsView->scale(1, -1);
// The navigation adds zooming and translation functionality to the
// QGraphicsView