┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/middleclickactioneventfilter.cpp
diff options
context:
space:
mode:
authorAmol Godbole <[email protected]>2023-09-04 00:24:38 -0500
committerAmol Godbole <[email protected]>2023-09-04 00:53:38 -0500
commit9ba09040134f743ca3a2082589cc943c2d4bf175 (patch)
tree694dfe04781e641487e83cbfdae4a4c67d25eefd /src/middleclickactioneventfilter.cpp
parentd7535d6977beb068d5ebf751278f585e9139c629 (diff)
KFileItemModel: Delay emitting currentDirectoryRemoved() signal
The KCoreDirLister object is modified before KCoreDirListerCache::deleteDir() returns because the signal currentDirectoryRemoved() is emitted. This prevents removal of the deleted lister from dirData.listersCurrentlyHolding in KCoreDirListerCache::forgetDirs() when the tab is closed, which causes the crash described in the bug. Hence, the signal currentDirectoryRemoved() is delayed to ensure this does not occur. BUG: 473377
Diffstat (limited to 'src/middleclickactioneventfilter.cpp')
0 files changed, 0 insertions, 0 deletions