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);