diff --git a/src/plasma/private/svg_p.h b/src/plasma/private/svg_p.h index 3e45c0fdf..ab8dde784 100644 --- a/src/plasma/private/svg_p.h +++ b/src/plasma/private/svg_p.h @@ -104,7 +104,6 @@ public: QHash localRectCache; QHash elementsWithSizeHints; SharedSvgRenderer::Ptr renderer; - QString requestedPath; QString themePath; QString path; QSizeF size; diff --git a/src/plasma/svg.cpp b/src/plasma/svg.cpp index 5118501e8..ad87ca46e 100644 --- a/src/plasma/svg.cpp +++ b/src/plasma/svg.cpp @@ -182,12 +182,6 @@ QString SvgPrivate::cachePath(const QString &path, const QSize &size) const bool SvgPrivate::setImagePath(const QString &imagePath) { - if (requestedPath == imagePath) { - return false; - } - - requestedPath = imagePath; - QString actualPath = imagePath; if (imagePath.startsWith(QLatin1String("file://"))) { //length of file://