diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-01-14 11:28:06 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-01-17 10:50:04 +0100 |
commit | f09f3655e4d6076b5b35563fc485fd102a6fc903 (patch) | |
tree | 6ee9b104afce498cd09dfc65e7aeb3fd7cd1b8a9 /src/qml/qml/v8 | |
parent | b974fac576b620436af64ad8b617f2276b756a05 (diff) |
Fix Qt.inputMethod ownership
Change-Id: Ic51f9daf17742a421a810d95b2a510caf657e08f
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/v8')
-rw-r--r-- | src/qml/qml/v8/qqmlbuiltinfunctions.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/qml/v8/qqmlbuiltinfunctions.cpp b/src/qml/qml/v8/qqmlbuiltinfunctions.cpp index 9cf9ba9c12..19cb1edb60 100644 --- a/src/qml/qml/v8/qqmlbuiltinfunctions.cpp +++ b/src/qml/qml/v8/qqmlbuiltinfunctions.cpp @@ -1268,7 +1268,6 @@ ReturnedValue QtObject::method_get_application(CallContext *ctx) ReturnedValue QtObject::method_get_inputMethod(CallContext *ctx) { QObject *o = QQml_guiProvider()->inputMethod(); - QQmlEngine::setObjectOwnership(o, QQmlEngine::CppOwnership); return QV4::QObjectWrapper::wrap(ctx->d()->engine, o); } #endif |