[vlc-commits] qt: QGraphicsView::setMatrix is deprecated since Qt 5.15
Pierre Lamot
git at videolan.org
Fri May 29 12:00:34 CEST 2020
vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | 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
More information about the vlc-commits
mailing list