[vlc-devel] [PATCH 4/6] qt: QGraphicsView::setMatrix is deprecated since Qt 5.15
Pierre Lamot
pierre at videolabs.io
Thu May 28 14:41:55 CEST 2020
---
modules/gui/qt/dialogs/epg/EPGView.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt/dialogs/epg/EPGView.cpp b/modules/gui/qt/dialogs/epg/EPGView.cpp
index 9d92f1f4f7..0dda924fd9 100644
--- a/modules/gui/qt/dialogs/epg/EPGView.cpp
+++ b/modules/gui/qt/dialogs/epg/EPGView.cpp
@@ -94,9 +94,9 @@ EPGView::EPGView( QWidget *parent ) : QGraphicsView( parent )
void EPGView::setScale( double scaleFactor )
{
m_scaleFactor = scaleFactor;
- QMatrix matrix;
+ QTransform matrix;
matrix.scale( scaleFactor, 1 );
- setMatrix( matrix );
+ setTransform( matrix );
}
const QDateTime& EPGView::startTime() const
--
2.25.1
More information about the vlc-devel
mailing list