use sized prefix again if the element has one
svn path=/trunk/KDE/kdelibs/; revision=1189288
This commit is contained in:
parent
f519ff9a6c
commit
898db0a262
2
svg.cpp
2
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;
|
||||
|
Loading…
Reference in New Issue
Block a user