summaryrefslogtreecommitdiffstats
path: root/src/gui/image
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-05-25 06:48:25 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-05-25 06:48:55 (GMT)
commitafb81a7527d798618b03319d4c0c47d33487fcfa (patch)
tree810cd02094149ab7d8a84879a7fbbe70f409614a /src/gui/image
parent921eef4c213d295e45583dcf3481d40bbca185bf (diff)
downloadQt-afb81a7527d798618b03319d4c0c47d33487fcfa.zip
Qt-afb81a7527d798618b03319d4c0c47d33487fcfa.tar.gz
Qt-afb81a7527d798618b03319d4c0c47d33487fcfa.tar.bz2
Fix a mistake in the doc.
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui/image')
-rw-r--r--src/gui/image/qpixmapcache.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/image/qpixmapcache.cpp b/src/gui/image/qpixmapcache.cpp
index eb1ebd1..31d29d6 100644
--- a/src/gui/image/qpixmapcache.cpp
+++ b/src/gui/image/qpixmapcache.cpp
@@ -491,8 +491,7 @@ bool QPixmapCache::insert(const QString &key, const QPixmap &pixmap)
/*!
Inserts a copy of the pixmap \a pm into
- the cache and return you the key. The key is always greater than 0.
- If the key is equals 0 then the insertion failed.
+ the cache and return you the key.
When a pixmap is inserted and the cache is about to exceed its
limit, it removes pixmaps until there is enough room for the