remove deprecated toAffine

This commit is contained in:
Vogel, Rick 2023-08-02 09:47:30 +02:00
parent b618599e62
commit 667c1d8b0d
2 changed files with 1 additions and 2 deletions

View File

@ -23,7 +23,6 @@
#include <QSGFlatColorMaterial>
#include <QSGGeometryNode>
#include <qmath.h>
#include <QTransform>
#include <array>
#include <optional>

View File

@ -14,7 +14,7 @@ inline Q_REQUIRED_RESULT QMatrix4x4 matrix_deg( float rZ = 0.0f,
QTransform transform;
transform.translate( tX, tY );
transform.rotate(rZ, Qt::ZAxis);
return transform.toAffine();
return transform;
}
template< typename T >