this made findInCache always fail.

still a bit too many fails tough

svn path=/trunk/KDE/kdelibs/; revision=1004775
This commit is contained in:
Marco Martin 2009-07-30 20:39:52 +00:00
parent 131c0b39de
commit d3f77afd1f

View File

@ -674,10 +674,6 @@ bool Theme::useNativeWidgetStyle() const
bool Theme::findInCache(const QString &key, QPixmap &pix)
{
if (d->useCache()) {
if (!d->keysToCache.contains(key)) {
return false;
}
const QString id = d->keysToCache[key];
if (d->pixmapsToCache.contains(id)) {
pix = d->pixmapsToCache.value(id);