diff options
| author | Tinja Paavoseppä <tinja.paavoseppa@qt.io> | 2023-10-10 09:40:06 +0300 |
|---|---|---|
| committer | Petri Virkkunen <petri.virkkunen@qt.io> | 2023-12-13 22:26:55 +0000 |
| commit | 4376467169979ce6886d6f58944a2f50dcf77e51 (patch) | |
| tree | b229d9824e10d9942ce9fae294ef7512664cc337 /src/gui/doc/snippets/textdocument-charformats/main.cpp | |
| parent | 0a5a9c134ebc240a48d999d3cc3fd65d0c60c8a5 (diff) | |
Android: Make winId() return the underlying QtWindow jobject
Previously, winId() returned a simple integer ID, incremented by one
for each window, instead of a handle to the underlying window.
Note, if constructing a QWindow with fromWinId(), the passed jobject
will not be the same one returned by winId(), as the passed jobject,
assumed to be a View, will be wrapped inside a QtWindow to ensure
child windows can be added to it if needed.
Pick-to: 6.7
Change-Id: I9d5d977eeb08d4cc3594f7339660fe94c3a55864
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-charformats/main.cpp')
0 files changed, 0 insertions, 0 deletions
