From 1ba46c9b632731d7d7e791de2b203d0d933245b9 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Mon, 3 Feb 2020 16:18:20 +0100 Subject: Get rid of QMatrix Task-number: QTBUG-81628 Change-Id: Iad66bfdf49b9ee65558a451108c086fc40dc3884 Reviewed-by: Lars Knoll --- src/gui/painting/qbrush.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/gui/painting/qbrush.cpp') diff --git a/src/gui/painting/qbrush.cpp b/src/gui/painting/qbrush.cpp index 28cc20bfc5..c8fc447446 100644 --- a/src/gui/painting/qbrush.cpp +++ b/src/gui/painting/qbrush.cpp @@ -892,26 +892,6 @@ bool QBrush::isOpaque() const return false; } - -#if QT_DEPRECATED_SINCE(5, 15) -/*! - \since 4.2 - \obsolete - - Use setTransform() instead. - - Sets \a matrix as an explicit transformation matrix on the - current brush. The brush transformation matrix is merged with - QPainter transformation matrix to produce the final result. - - \sa matrix() -*/ -void QBrush::setMatrix(const QMatrix &matrix) -{ - setTransform(QTransform(matrix)); -} -#endif // QT_DEPRECATED_SINCE(5, 15) - /*! \since 4.3 -- cgit v1.2.3