https://bugs.kde.org/show_bug.cgi?id=461448

Christoph Cullmann <cullm...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kconfigwidgets/commi
                   |                            |t/5aaf0c3e021c9a48b425a0b02
                   |                            |212eb699d532177
         Resolution|---                         |FIXED

--- Comment #2 from Christoph Cullmann <cullm...@kde.org> ---
Git commit 5aaf0c3e021c9a48b425a0b02212eb699d532177 by Christoph Cullmann, on
behalf of Eugene Popov.
Committed on 12/11/2022 at 22:13.
Pushed by cullmann into branch 'master'.

[KRecentFilesAction] Fix broken recent files list

Modifying the list of recent files in the `urlSelected` signal handler (as it
happens in Okular:
[`Shell::openUrl`](https://invent.kde.org/graphics/okular/-/blob/master/shell/shell.cpp#L332)
>
[`KRecentFilesAction::addUrl`](https://invent.kde.org/frameworks/kconfigwidgets/-/blob/master/src/krecentfilesaction.cpp#L177)
>
[`KRecentFilesAction::removeUrl`](https://invent.kde.org/frameworks/kconfigwidgets/-/blob/master/src/krecentfilesaction.cpp#L232)
>
[`KRecentFilesActionPrivate::removeAction`](https://invent.kde.org/frameworks/kconfigwidgets/-/blob/master/src/krecentfilesaction.cpp#L103))
can cause the iterator used when emitting that signal to become invalid.

M  +2    -1    src/krecentfilesaction.cpp

https://invent.kde.org/frameworks/kconfigwidgets/commit/5aaf0c3e021c9a48b425a0b02212eb699d532177

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to