Skip to content

Show thumbnail in "open recents" menu

Alvin Wong requested to merge alvinwong/krita:alvin/recent-thumbnails into master

This adds thumbnails to the "Open Recents" file menu, by reusing the code for the welcome screen widget.

image

Test Plan

  • Start Krita and check that thumbnails are visible in the menu.
  • Open a file not already on the recents list and check that the thumbnail for the file is visible in the menu.
  • Do the same with two main windows opened.
  • Check that the recents list on the welcome widget still works normally

Formalities Checklist

  • I confirmed this builds.
  • I confirmed Krita ran and the relevant functions work.
  • n/a I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!)
  • I made sure my commits build individually and have good descriptions as per KDE guidelines.
  • I made sure my code conforms to the standards set in the HACKING file.
  • I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.

Merge request reports