fix build with int -> qint64

svn path=/trunk/KDE/kdelibs/; revision=1000123
This commit is contained in:
Marco Martin 2009-07-20 21:24:12 +00:00
parent 94f3c6a498
commit 627b939e12
2 changed files with 3 additions and 3 deletions

View File

@ -621,13 +621,13 @@ void FrameSvgPrivate::cacheFrame(const QString &prefixToSave)
//kDebug()<<"Saving to cache frame"<<id; //kDebug()<<"Saving to cache frame"<<id;
Theme::defaultTheme()->insertIntoCache(id, frame->cachedBackground, QString::number((int)q)+prefixToSave); Theme::defaultTheme()->insertIntoCache(id, frame->cachedBackground, QString::number((qint64)q)+prefixToSave);
//insert overlay //insert overlay
id = QString::fromLatin1("overlay_%7_%6_%5_%4_%3_%2_%1_"). 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()); 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() void FrameSvgPrivate::updateSizes()

View File

@ -238,7 +238,7 @@ class SvgPrivate
} }
if (cacheRendering) { if (cacheRendering) {
actualTheme()->insertIntoCache(id, p, QString::number((int)q)+elementId); actualTheme()->insertIntoCache(id, p, QString::number((qint64)q)+elementId);
} }
return p; return p;