diff --git a/framesvg.cpp b/framesvg.cpp index 0685d472e..f7b488061 100644 --- a/framesvg.cpp +++ b/framesvg.cpp @@ -621,13 +621,13 @@ void FrameSvgPrivate::cacheFrame(const QString &prefixToSave) //kDebug()<<"Saving to cache frame"<insertIntoCache(id, frame->cachedBackground, QString::number((qint64)q)+prefixToSave); + Theme::defaultTheme()->insertIntoCache(id, frame->cachedBackground, QString::number((qint64)q, 16)+prefixToSave); //insert overlay id = QString::fromLatin1("overlay_%7_%6_%5_%4_%3_%2_%1_"). arg(overlayPos.y()).arg(overlayPos.x()).arg(frame->enabledBorders).arg(size.width()).arg(size.height()).arg(prefixToSave).arg(q->imagePath()); - Theme::defaultTheme()->insertIntoCache(id, frame->cachedBackground, QString::number((qint64)q)+prefixToSave+"overlay"); + Theme::defaultTheme()->insertIntoCache(id, frame->cachedBackground, QString::number((qint64)q, 16)+prefixToSave+"overlay"); } void FrameSvgPrivate::updateSizes() diff --git a/svg.cpp b/svg.cpp index f8e367da4..a7749f8cf 100644 --- a/svg.cpp +++ b/svg.cpp @@ -238,7 +238,7 @@ class SvgPrivate } if (cacheRendering) { - actualTheme()->insertIntoCache(id, p, QString::number((qint64)q)+elementId); + actualTheme()->insertIntoCache(id, p, QString::number((qint64)q, 16)+elementId); } return p;