diff options
author | Stanislav Ionascu <stanislav.ionascu@nokia.com> | 2010-11-25 14:50:50 +0200 |
---|---|---|
committer | Stanislav Ionascu <stanislav.ionascu@nokia.com> | 2010-11-25 15:18:35 +0200 |
commit | 30f0f7b7ce445e20a30db93d219cb45fc14a78ce (patch) | |
tree | 70182a08cb46c81c3e6eda1a2daa65d4f9f6a658 | |
parent | 0892e7818a45de0bd87a019b81d7ca7ec23d4bb9 (diff) |
Changes: Really load the image resource from the FS cache.
RevBy: Sergiy Dubovik, Daniel d'Andrada, Peter Penz
Details: The image was never really loaded from the file cache.
Author: Daniel d'Andrada
-rw-r--r-- | src/corelib/theme/mimagedirectory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/theme/mimagedirectory.cpp b/src/corelib/theme/mimagedirectory.cpp index 16e240a7..ebcd467e 100644 --- a/src/corelib/theme/mimagedirectory.cpp +++ b/src/corelib/theme/mimagedirectory.cpp @@ -54,7 +54,7 @@ MPixmapHandle ImageResource::fetchPixmap(const QSize &size) // try to load it from filesystem cache QImage image; if (shouldBeCached()) { - loadFromFsCache(size); + image = loadFromFsCache(size); } if (image.isNull()) { |