aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlintegercache_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlintegercache_p.h')
-rw-r--r--src/qml/qml/qqmlintegercache_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlintegercache_p.h b/src/qml/qml/qqmlintegercache_p.h
index 8b2f97267e..5fe4039f3c 100644
--- a/src/qml/qml/qqmlintegercache_p.h
+++ b/src/qml/qml/qqmlintegercache_p.h
@@ -71,7 +71,7 @@ public:
void reserve(int);
int value(const QString &);
- inline int value(const QHashedV8String &);
+ inline int value(const QHashedV4String &);
QString findId(int value) const;
@@ -80,7 +80,7 @@ private:
StringCache stringCache;
};
-int QQmlIntegerCache::value(const QHashedV8String &name)
+int QQmlIntegerCache::value(const QHashedV4String &name)
{
int *result = stringCache.value(name);
return result?*result:-1;