backport the proper behaviour for this function
svn path=/branches/KDE/4.3/kdelibs/; revision=1006976
This commit is contained in:
parent
90b120b01c
commit
4a5315e3d3
@ -680,7 +680,7 @@ bool Theme::findInCache(const QString &key, QPixmap &pix)
|
||||
bool Theme::findInCache(const QString &key, QPixmap &pix, unsigned int lastModified)
|
||||
{
|
||||
if (d->useCache() && lastModified > d->pixmapCache->timestamp()) {
|
||||
d->discardCache(true);
|
||||
return false;
|
||||
}
|
||||
|
||||
return findInCache(key, pix);
|
||||
|
Loading…
Reference in New Issue
Block a user