Use std::shared_ptrfor AlbumCoverLoaderResult
Reduces memory fragmentation with Qt 6
This commit is contained in:
@@ -27,7 +27,8 @@
|
||||
#include <QImage>
|
||||
#include <QSize>
|
||||
|
||||
struct AlbumCoverLoaderOptions {
|
||||
class AlbumCoverLoaderOptions {
|
||||
public:
|
||||
explicit AlbumCoverLoaderOptions()
|
||||
: get_image_data_(true),
|
||||
get_image_(true),
|
||||
|
||||
Reference in New Issue
Block a user