summaryrefslogtreecommitdiffstats
path: root/src/declarative/util
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-09 06:37:48 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-09 06:37:48 (GMT)
commitda8dda3a3b66fed6d5da878f3b4617aa0b5f3953 (patch)
tree120401a37b5364f3fde52bcb599c3c005e9d526a /src/declarative/util
parent44efb487bbd2a9e4de416d566839cdffff1d69e2 (diff)
downloadQt-da8dda3a3b66fed6d5da878f3b4617aa0b5f3953.zip
Qt-da8dda3a3b66fed6d5da878f3b4617aa0b5f3953.tar.gz
Qt-da8dda3a3b66fed6d5da878f3b4617aa0b5f3953.tar.bz2
Remove QT_VERSION checks in QML
We only support Qt 4.7 now.
Diffstat (limited to 'src/declarative/util')
-rw-r--r--src/declarative/util/qdeclarativepixmapcache.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/declarative/util/qdeclarativepixmapcache.cpp b/src/declarative/util/qdeclarativepixmapcache.cpp
index e57d3c2..5e60819 100644
--- a/src/declarative/util/qdeclarativepixmapcache.cpp
+++ b/src/declarative/util/qdeclarativepixmapcache.cpp
@@ -65,13 +65,6 @@ static const int maxImageRequestCount = 8;
QT_BEGIN_NAMESPACE
-#if (QT_VERSION < QT_VERSION_CHECK(4, 7, 0))
-inline uint qHash(const QUrl &uri)
-{
- return qHash(uri.toEncoded(QUrl::FormattingOption(0x100)));
-}
-#endif
-
static QString toLocalFileOrQrc(const QUrl& url)
{
QString r = url.toLocalFile();