From 898db0a2622cce98af82c8ea47817097a3db525f Mon Sep 17 00:00:00 2001 From: Manuel Mommertz <2kmm@gmx.de> Date: Sun, 24 Oct 2010 13:42:33 +0000 Subject: [PATCH] use sized prefix again if the element has one svn path=/trunk/KDE/kdelibs/; revision=1189288 --- svg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svg.cpp b/svg.cpp index 446688b35..caf9005f7 100644 --- a/svg.cpp +++ b/svg.cpp @@ -216,7 +216,7 @@ Theme *SvgPrivate::actualTheme() QPixmap SvgPrivate::findInCache(const QString &elementId, const QSizeF &s) { QSize size; - QString actualElementId(CACHE_ID_WITH_SIZE(s, elementId)); + QString actualElementId(QString::number(int(s.width())) % "-" % QString::number(int(s.height())) % "-" % elementId); if (elementId.isEmpty() || !q->hasElement(actualElementId)) { actualElementId = elementId;