diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2021-10-29 13:39:32 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2021-11-11 21:24:30 +0100 |
commit | 30adaaedf77d567f7c9c835756b560065c446e9e (patch) | |
tree | 59a34e76b85aaa572c00dc653a9dd9c3f773dcee /.gitattributes | |
parent | 30276cec3d47f4f4fa847fea90214ec5c28d54ed (diff) |
QInputMethod: check if focusobject supports the "new" IM function before calling it
We use QMetaObject to invoke the "queryFocusObject" function. But if
the current focus object doesn't implement this function, we get a
"QMetaObject::invokeMethod: No such method" warning.
This patch will add a check if the focus object supports IM queries
before trying to call "queryFocusObject", to avoid the warning.
Task-number: QTBUG-91545
Change-Id: I3aa8bd2d4bf57bd42c2d77ed71174ec4f9951f81
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions