summaryrefslogtreecommitdiffstats
path: root/src/gui/image
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-05-22 15:47:01 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-05-22 15:47:55 (GMT)
commit37b0711beb909f3d0bd6f2420aa44bc49e786cd5 (patch)
tree4b0c5a30337b9af103d274ef11e994751292afd6 /src/gui/image
parent73f953dce2c184c36476c3412880a7aee10ef638 (diff)
downloadQt-37b0711beb909f3d0bd6f2420aa44bc49e786cd5.zip
Qt-37b0711beb909f3d0bd6f2420aa44bc49e786cd5.tar.gz
Qt-37b0711beb909f3d0bd6f2420aa44bc49e786cd5.tar.bz2
Fix build on Solaris for qHash function in QPixmapCache.
Reviewed-by:thierry
Diffstat (limited to 'src/gui/image')
-rw-r--r--src/gui/image/qpixmapcache.cpp2
-rw-r--r--src/gui/image/qpixmapcache_p.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/image/qpixmapcache.cpp b/src/gui/image/qpixmapcache.cpp
index 810ce65..eb1ebd1 100644
--- a/src/gui/image/qpixmapcache.cpp
+++ b/src/gui/image/qpixmapcache.cpp
@@ -183,7 +183,7 @@ QT_BEGIN_INCLUDE_NAMESPACE
#include "qpixmapcache.moc"
QT_END_INCLUDE_NAMESPACE
-static uint qHash(const QPixmapCache::Key &k)
+uint qHash(const QPixmapCache::Key &k)
{
return qHash(QPMCache::get(k)->key);
}
diff --git a/src/gui/image/qpixmapcache_p.h b/src/gui/image/qpixmapcache_p.h
index 5aa6eaf..a35e0d2 100644
--- a/src/gui/image/qpixmapcache_p.h
+++ b/src/gui/image/qpixmapcache_p.h
@@ -60,6 +60,8 @@
QT_BEGIN_NAMESPACE
+uint qHash(const QPixmapCache::Key &k);
+
class QPixmapCache::KeyData
{
public: