fix deprecated warning void QGraphicsView::resetMatrix()

Use resetTransform() instead

This class was introduced in Qt 4.2.

+ indentation warning
of "resetSceneRect();"
This commit is contained in:
Simon De Backer
2020-06-10 19:53:10 +02:00
committed by Laurent Trinques
parent b29753e37e
commit e4f4c1e154
3 changed files with 4 additions and 4 deletions

View File

@@ -127,7 +127,7 @@ void TitleBlockTemplateView::zoomFit() {
*/
void TitleBlockTemplateView::zoomReset() {
adjustSceneRect();
resetMatrix();
resetTransform();
}
/**