diff options
| author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-10-05 10:33:21 +0200 |
|---|---|---|
| committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-10-06 07:37:28 +0000 |
| commit | 45a0c68c8c0b373152f4aec511bc150f431ad9e3 (patch) | |
| tree | 11436a8870d666b1c41d2466ec24d0b247a2a505 /tests/manual/qopenglcontext/qopenglcontextwindow.cpp | |
| parent | 227fa93c27d7c3a3e1749749ee2b9eafdb397a7f (diff) | |
xdgdesktopportal: properly fix a dangling pointer
The previous fix didn't actually work, as it kept a reference
into a container which could have been muted by the time the
reference was going to be used.
Use an index instead.
Amends 32c09ea5b0f529418eece63de5c3b2c206f62896.
Change-Id: Ib855b4a663c281467e46536b98a0ce2b961f19ee
Pick-to: 5.15
Task-number: QTBUG-87143
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/manual/qopenglcontext/qopenglcontextwindow.cpp')
0 files changed, 0 insertions, 0 deletions
