Use static QPixmapCache everywhere

This commit is contained in:
Jonas Kvinge
2021-07-11 01:43:52 +02:00
parent b8b21d53e1
commit f21be30004
5 changed files with 7 additions and 11 deletions

View File

@@ -38,7 +38,6 @@
#include <QUrl>
#include <QImage>
#include <QPixmap>
#include <QPixmapCache>
#include <QMetaType>
#include "core/song.h"
@@ -216,7 +215,6 @@ class InternetSearchView : public QWidget {
AlbumCoverLoaderOptions cover_loader_options_;
QMap<quint64, QPair<QModelIndex, QString>> cover_loader_tasks_;
QPixmapCache pixmap_cache_;
};
Q_DECLARE_METATYPE(InternetSearchView::Result)