diff options
Diffstat (limited to 'src/script/api')
-rw-r--r-- | src/script/api/qscriptvalue_p.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/script/api/qscriptvalue_p.h b/src/script/api/qscriptvalue_p.h index b19435c..7090916 100644 --- a/src/script/api/qscriptvalue_p.h +++ b/src/script/api/qscriptvalue_p.h @@ -93,14 +93,9 @@ class QScriptValuePrivate return ptr; } - bool operator==(const int i) const + QScriptEngine* operator->() { - return ptr == (void *)i; - } - - bool operator!=(const int i) const - { - return ptr != (void *)i; + return ptr; } private: |