unbreak actualElementId
svn path=/trunk/KDE/kdelibs/; revision=1090746
This commit is contained in:
parent
de832d5e60
commit
d661297dc3
4
svg.cpp
4
svg.cpp
@ -188,12 +188,10 @@ class SvgPrivate
|
||||
QPixmap findInCache(const QString &elementId, const QSizeF &s = QSizeF())
|
||||
{
|
||||
QSize size;
|
||||
QString actualElementId;
|
||||
QString actualElementId(QString("%1-%2-%3").arg(qRound(s.width())).arg( qRound(s.height())).arg(elementId));
|
||||
|
||||
if (elementId.isEmpty() || !q->hasElement(actualElementId)) {
|
||||
actualElementId = elementId;
|
||||
} else {
|
||||
actualElementId = QString("%1-%2-%3").arg(qRound(s.width())).arg( qRound(s.height())).arg(elementId);
|
||||
}
|
||||
|
||||
if (elementId.isEmpty() || (multipleImages && s.isValid())) {
|
||||
|
Loading…
Reference in New Issue
Block a user