Fix show album cover from Tidal
This commit is contained in:
@@ -261,7 +261,7 @@ void TidalSearch::HandleLoadedArt(int id, const QImage &image) {
|
||||
}
|
||||
|
||||
QImage TidalSearch::ScaleAndPad(const QImage &image) {
|
||||
|
||||
|
||||
if (image.isNull()) return QImage();
|
||||
|
||||
const QSize target_size = QSize(kArtHeight, kArtHeight);
|
||||
|
||||
@@ -274,7 +274,7 @@ void TidalSearchView::SwapModels() {
|
||||
}
|
||||
|
||||
void TidalSearchView::LazyLoadArt(const QModelIndex &proxy_index) {
|
||||
|
||||
|
||||
if (!proxy_index.isValid() || proxy_index.model() != front_proxy_) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user