From 48484719d3cf47f915f35b96ca4eb8c168d62ad6 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 30 Jul 2009 20:41:16 +0000 Subject: [PATCH] backport findInCache fix svn path=/branches/KDE/4.3/kdelibs/; revision=1004777 --- theme.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/theme.cpp b/theme.cpp index 76ca41837..b708b0a8b 100644 --- a/theme.cpp +++ b/theme.cpp @@ -664,10 +664,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);