Skip to content

Make the recently accessed folder list globally accessible

Jonathan Marten requested to merge recent-collection-static-access into master

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 recently used folder list is not updated. No access is available from outside other than via the StandardActionManager actions.

Add a class-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.

CCBUG:435410

Merge request reports

Loading