diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-12-04 12:52:06 +0100 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-12-04 15:09:46 +0100 |
commit | bc093cd294cbf48eb93b776fc0b927f0a43fa603 (patch) | |
tree | 020682013344ba56546a105ec9de9b9507e4a762 /src/testlib/doc/src | |
parent | 94dfb18865fc4694f5e9cd1e3e3e5dc49fb3aea3 (diff) |
QInputDevice: Parent default keyboard to core app singleton
With this we can avoid leaking the QInputDevice which is created when
the platform plugin does not provide any. The onwership is solved in a
similar way as in the plugins, except that here we have no parent which
really fits, so we use QCoreApplication::instance instead.
Pick-to: 6.0
Change-Id: I77a212fb592ba3d5a42b2ecd486763e3b4d3410e
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/testlib/doc/src')
0 files changed, 0 insertions, 0 deletions