Remove unused method SvgPrivate::matrixForElement
GIT_SILENT
This commit is contained in:
parent
e18a939897
commit
fda9bae9b1
@ -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();
|
||||
|
||||
|
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user