From d3f77afd1fdaea9d9f66b5a9f959c4904b547328 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 30 Jul 2009 20:39:52 +0000 Subject: [PATCH] this made findInCache always fail. still a bit too many fails tough svn path=/trunk/KDE/kdelibs/; revision=1004775 --- theme.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/theme.cpp b/theme.cpp index e65e32534..0d7f07c76 100644 --- a/theme.cpp +++ b/theme.cpp @@ -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);