Move away from ThumbnailCache singleton

Authored by johanneszarl on May 11 2020, 9:54 PM.

Description

Move away from ThumbnailCache singleton

With the ThumbnailBuilder, taking in the MainWindow as dependency to get
to the ThumbnailCache doesn't really improve things compared to the old
singleton, and it makes ImageManager and MainWindows more closely
coupled.
Also, the ThumbnailBuilder should realistically be coupled in its
life-time to the ThumbnailCache, so a "uses" relation seems right.

Details

Committed
johanneszarlMay 11 2020, 9:54 PM
Parents
R463:a387d1683b11: Move away from ThumbnailCache singleton
Branches
Unknown
Tags
Unknown