Remove unused method SvgPrivate::matrixForElement

GIT_SILENT
This commit is contained in:
Friedrich W. H. Kossebau 2020-06-26 14:25:54 +02:00
parent e18a939897
commit fda9bae9b1
2 changed files with 0 additions and 11 deletions

View File

@ -82,7 +82,6 @@ public:
QRectF elementRect(const QString &elementId);
QRectF findAndCacheElementRect(const QString &elementId, const QString &cacheId);
QMatrix matrixForElement(const QString &elementId);
void checkColorHints();

View File

@ -583,16 +583,6 @@ QRectF SvgPrivate::findAndCacheElementRect(const QString &elementId, const QStri
return elementRect;
}
QMatrix SvgPrivate::matrixForElement(const QString &elementId)
{
createRenderer();
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
return renderer->transformForElement(elementId).toAffine();
#else
return renderer->matrixForElement(elementId);
#endif
}
void SvgPrivate::checkColorHints()
{
if (elementRect(QStringLiteral("hint-apply-color-scheme")).isValid()) {