aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/localstorage/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/localstorage/plugin.cpp b/src/imports/localstorage/plugin.cpp
index eca8f40e30..93c1283ea6 100644
--- a/src/imports/localstorage/plugin.cpp
+++ b/src/imports/localstorage/plugin.cpp
@@ -117,7 +117,7 @@ class QQmlSqlDatabaseWrapper : public Object
public:
V4_OBJECT2(QQmlSqlDatabaseWrapper, Object)
- static QV4::Returned<QQmlSqlDatabaseWrapper> *create(QV8Engine *engine)
+ static Heap::QQmlSqlDatabaseWrapper *create(QV8Engine *engine)
{
QV4::ExecutionEngine *e = QV8Engine::getV4(engine);
return e->memoryManager->alloc<QQmlSqlDatabaseWrapper>(e);