vlc | branch: master | Pierre Lamot <[email protected]> | Thu May 28 10:04:25 
2020 +0200| [be856f33c6798067816a4e224786cc7d5d84c99f] | committer: Pierre Lamot

qt: QGraphicsView::setMatrix is deprecated since Qt 5.15

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=be856f33c6798067816a4e224786cc7d5d84c99f
---

 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

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to