From b52cfaefac1c63a04b0f9bc9823f03a278537f51 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Mon, 20 Jul 2009 21:27:43 +0000 Subject: [PATCH] backport build fix svn path=/branches/KDE/4.3/kdelibs/; revision=1000126 --- framesvg.cpp | 4 ++-- svg.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/framesvg.cpp b/framesvg.cpp index afb609f6c..0685d472e 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((int)q)+prefixToSave); + Theme::defaultTheme()->insertIntoCache(id, frame->cachedBackground, QString::number((qint64)q)+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((int)q)+prefixToSave+"overlay"); + Theme::defaultTheme()->insertIntoCache(id, frame->cachedBackground, QString::number((qint64)q)+prefixToSave+"overlay"); } void FrameSvgPrivate::updateSizes() diff --git a/svg.cpp b/svg.cpp index dee9cbfd8..f8e367da4 100644 --- a/svg.cpp +++ b/svg.cpp @@ -238,7 +238,7 @@ class SvgPrivate } if (cacheRendering) { - actualTheme()->insertIntoCache(id, p, QString::number((int)q)+elementId); + actualTheme()->insertIntoCache(id, p, QString::number((qint64)q)+elementId); } return p;