[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.3/kdelibs/plasma
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2009-08-04 19:15:01
Message-ID: 1249413301.369466.28511.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1006950 by aseigo:
use value instead of [] to avoid empty or uninteresting elements in the collection
M +1 -1 theme.cpp
--- branches/KDE/4.3/kdelibs/plasma/theme.cpp #1006949:1006950
@@ -664,7 +664,7 @@
bool Theme::findInCache(const QString &key, QPixmap &pix)
{
if (d->useCache()) {
- const QString id = d->keysToCache[key];
+ const QString id = d->keysToCache.value(key);
if (d->pixmapsToCache.contains(id)) {
pix = d->pixmapsToCache.value(id);
return true;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic