diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-08-29 21:23:04 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-02 17:27:36 +0200 |
commit | d8e31c098dade7280f21ca9781ba11bee5e4f201 (patch) | |
tree | 793b7e5566e75b9c0ef45693d36cb57839a4233c /src/imports/localstorage | |
parent | edee5c3dc0d922ec3b6a44d66193e9a57b8a979e (diff) |
Cleanup calls to Object::setPrototype()
Rather use the correct internalClass directly when constructing
the objects.
Change-Id: I8e916f1ce8f83d291c08ca6332fe85b1f57b90b5
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/imports/localstorage')
-rw-r--r-- | src/imports/localstorage/plugin.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/imports/localstorage/plugin.cpp b/src/imports/localstorage/plugin.cpp index 7c7303a7b8..578c388b44 100644 --- a/src/imports/localstorage/plugin.cpp +++ b/src/imports/localstorage/plugin.cpp @@ -99,7 +99,6 @@ public: : Object(QV8Engine::getV4(e)), type(Database), inTransaction(false), readonly(false), forwardOnly(false) { vtbl = &static_vtbl; - setPrototype(QV8Engine::getV4(e)->objectPrototype); } ~QQmlSqlDatabaseWrapper() { |