summaryrefslogtreecommitdiffstats
path: root/src/corelib/itemmodels/qabstractitemmodel.h
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2020-08-19 09:18:57 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2020-08-20 07:43:24 +0200
commit32c09ea5b0f529418eece63de5c3b2c206f62896 (patch)
tree20acfe7d9876137491cb0ca276672e4c0c5f4a63 /src/corelib/itemmodels/qabstractitemmodel.h
parentc0097d1521383ce49956c9f4da8be01ad178f43e (diff)
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 3e09c28101d1af1dd90a4b515d7edbe5a3737f97 ("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>
Diffstat (limited to 'src/corelib/itemmodels/qabstractitemmodel.h')
0 files changed, 0 insertions, 0 deletions