Incorrect documentation for KRecentFilesAction::saveEntries

George Florea Banus georgefb899 at
Wed Nov 24 00:05:58 GMT 2021

The documentation for KRecentFilesAction::saveEntries says "You can 
provide the name of the group used to load the entries. If the groupname 
is empty, entries are saved to a group called 'RecentFiles'".

And in the code it checks if name is empty `( { ... 
}`, but `` is never empty [link1] resulting in the files being 
saved without a group, it was like this since the method was added [link2].

I wanted to submit a MR to kconfigwidgets also checking if the name is 
<default>, but since it's been like this from the beginning, it might be 
better to change the documentation for KRecentFilesAction::saveEntries. 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-devel mailing list