we have the cure cacheId() function, let's use it mmkay?
svn path=/trunk/KDE/kdelibs/; revision=892656
This commit is contained in:
parent
e22429867b
commit
8994cc5ad6
6
svg.cpp
6
svg.cpp
@ -150,8 +150,7 @@ class SvgPrivate
|
||||
return QPixmap();
|
||||
}
|
||||
|
||||
QString id = QString::fromLatin1("%3_%2_%1_").
|
||||
arg(size.width()).arg(size.height()).arg(path);
|
||||
QString id = cacheId(path);
|
||||
|
||||
if (!elementId.isEmpty()) {
|
||||
id.append(elementId);
|
||||
@ -205,8 +204,7 @@ class SvgPrivate
|
||||
while (i != itemsToSave.end()) {
|
||||
QPixmap p = i.value();
|
||||
|
||||
QString id = QString::fromLatin1("%3_%2_%1_").
|
||||
arg(p.size().width()).arg(p.size().height()).arg(path);
|
||||
QString id = cacheId(path);
|
||||
|
||||
if (!i.key().isEmpty()) {
|
||||
id.append(i.key());
|
||||
|
Loading…
Reference in New Issue
Block a user