From 27cc45c8bedc52cdf659242570e0b3f2e882bc8b Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Mon, 28 Jun 2021 01:52:02 +0200 Subject: [PATCH] Remove unused local variable --- src/plasma/svg.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/plasma/svg.cpp b/src/plasma/svg.cpp index 2ef5304aa..2dca02a08 100644 --- a/src/plasma/svg.cpp +++ b/src/plasma/svg.cpp @@ -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();