qt5base-lts/src
Michael Weghorn 32c09ea5b0 xdgdesktopportal: Avoid dangling pointer
Use pointer to newly inserted element in 'filterList'
since local variable 'filter' goes out of scope at the end
of the block.

This is a follow-up for commit
3e09c28101
("Filechooser portal: Implement "current_filter").
Thanks to Giuseppe D'Angelo for pointing this out in that
commit's Gerrit change.

Pick-to: 5.15
Change-Id: I9af35c46315c7f90721d0d39b0fda6384c15786a
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2020-08-20 07:43:24 +02:00
..
3rdparty MSVC: Fix C4996 warnings when building Qt 2020-08-19 12:46:09 +02:00
android Android: Add support for travesing directories and accessing files 2020-08-07 12:04:57 +02:00
concurrent Fix the doc example 2020-08-19 18:23:01 +02:00
corelib Doc: Use https in links that don't redirect properly 2020-08-20 06:31:42 +02:00
dbus Remove QVariant(int type, void *data, ...) constructor 2020-08-15 10:56:29 +02:00
gui rhi: d3d11: Enable setting xxxColor as an alpha src/dst blend factor 2020-08-19 18:23:52 +02:00
network Remove QSslSocket::abort() 2020-08-20 08:33:09 +03:00
opengl Replace Qt CONSTEXPR defines with constexpr 2020-08-14 15:52:58 +02:00
openglwidgets Register QPlatformBackingStoreOpenGLSupport when needed 2020-07-29 20:34:15 +02:00
platformsupport Remove linuxofono 2020-07-15 07:33:32 +02:00
plugins xdgdesktopportal: Avoid dangling pointer 2020-08-20 07:43:24 +02:00
printsupport CMake: Re-implement configure/qmake's command line handling in CMake 2020-08-17 08:08:20 +02:00
sql CMake: Re-implement configure/qmake's command line handling in CMake 2020-08-17 08:08:20 +02:00
testlib CMake: Re-implement configure/qmake's command line handling in CMake 2020-08-17 08:08:20 +02:00
tools Move QStringRef and remains to Qt5Compat 2020-08-20 00:58:13 +02:00
widgets QFileSystemModel: don't display a modal messagebox on error 2020-08-19 20:21:59 +02:00
winmain Remove winrt 2020-06-06 20:25:49 +02:00
xml Port the QXmlStream API from QStringRef to QStringView 2020-08-19 19:48:03 +02:00
CMakeLists.txt Remove last remaining bits of QtPlatformHeaders 2020-08-04 07:12:32 +02:00
src.pro Remove last remaining bits of QtPlatformHeaders 2020-08-04 07:12:32 +02:00