fix build with int -> qint64
svn path=/trunk/KDE/kdelibs/; revision=1000123
This commit is contained in:
parent
94f3c6a498
commit
627b939e12
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user