Remove unused local variable

This commit is contained in:
Aleix Pol 2021-06-28 01:52:02 +02:00
parent 8953e77ec2
commit 27cc45c8be
1 changed files with 0 additions and 2 deletions

View File

@ -469,8 +469,6 @@ bool SvgPrivate::setImagePath(const QString &imagePath)
// also images with absolute path needs to have a natural size initialized,
// even if looks a bit weird using Theme to store non-themed stuff
if ((themed && !path.isEmpty() && QFileInfo::exists(path)) || QFileInfo::exists(actualPath)) {
QRectF rect;
naturalSize = SvgRectsCache::instance()->naturalSize(path, scaleFactor);
if (naturalSize.isEmpty()) {
createRenderer();