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

--- Comment #4 from Jonathan Marten <j...@keelhaul.me.uk> ---
Git commit 79f84aa36743637c274af0134dffe46a5122826c by Jonathan Marten.
Committed on 10/04/2021 at 07:25.
Pushed by mlaurent into branch 'master'.

Make the recently accessed folder list globally accessible

This is normally managed by RecentCollectionAction, but is only updated
by StandardActionManager when its standard actions are used.  If a
caller uses its own actions, for example KMail's separate message reader
window, then the list is not updated.

Add a static function StandardActionManager::addRecentCollection(),
which simply calls RecentCollectionAction::addRecentCollection() to
update the global recent collection list.  Read and update this list in
RecentCollectionAction as before.

M  +35   -22   src/widgets/recentcollectionaction.cpp
M  +8    -4    src/widgets/recentcollectionaction_p.h
M  +6    -0    src/widgets/standardactionmanager.cpp
M  +8    -0    src/widgets/standardactionmanager.h

https://invent.kde.org/pim/akonadi/commit/79f84aa36743637c274af0134dffe46a5122826c

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

Reply via email to