Skip to content

Commit

Permalink
Fix cover art tootips
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Sep 24, 2023
1 parent 90b9af6 commit 00d21c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/basetracktablemodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ QVariant BaseTrackTableModel::composeCoverArtToolTipHtml(
pViewScreen->availableGeometry().height() *
kRelativeHeightOfCoverartToolTip);
const auto coverInfo = getCoverInfo(index);
if (coverInfo.hasImage()) {
if (!coverInfo.hasImage()) {
return QPixmap();
}
QPixmap pixmap = CoverArtCache::getCachedCover(
Expand Down

0 comments on commit 00d21c2

Please sign in to comment.