From d8e31c098dade7280f21ca9781ba11bee5e4f201 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 29 Aug 2013 21:23:04 +0200 Subject: Cleanup calls to Object::setPrototype() Rather use the correct internalClass directly when constructing the objects. Change-Id: I8e916f1ce8f83d291c08ca6332fe85b1f57b90b5 Reviewed-by: Simon Hausmann --- src/imports/localstorage/plugin.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/imports') 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() { -- cgit v1.2.3