From 627b939e121d8ff0f5cbf8d73af7f24dc08b9c02 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Mon, 20 Jul 2009 21:24:12 +0000 Subject: [PATCH] fix build with int -> qint64 svn path=/trunk/KDE/kdelibs/; revision=1000123 --- 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;