diff options
Diffstat (limited to 'src/qml/qml/ftw/qhashedstring_p.h')
-rw-r--r-- | src/qml/qml/ftw/qhashedstring_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/ftw/qhashedstring_p.h b/src/qml/qml/ftw/qhashedstring_p.h index 990fbc516f..cce49709a7 100644 --- a/src/qml/qml/ftw/qhashedstring_p.h +++ b/src/qml/qml/ftw/qhashedstring_p.h @@ -263,7 +263,7 @@ public: inline uint16_t *utf16Data() const { return (uint16_t *)strData->data(); } inline bool equals(v8::Handle<v8::String> string) const { - v8::Local<v8::String> data = isQString() ? v8::String::New(utf16Data(), length) + v8::Handle<v8::String> data = isQString() ? v8::String::New(utf16Data(), length) : v8::String::New(cStrData(), length); return string->Equals(data); } |