PlaylistView: Fix invalidating cached pixmap on scroll

Fixes #952
This commit is contained in:
Jonas Kvinge 2022-05-09 23:46:33 +02:00
parent 237933855a
commit 21c4022fca
1 changed files with 1 additions and 1 deletions

View File

@ -894,7 +894,7 @@ void PlaylistView::mousePressEvent(QMouseEvent *event) {
void PlaylistView::scrollContentsBy(int dx, int dy) {
if (dx > 0) {
if (dx != 0) {
InvalidateCachedCurrentPixmap();
}
cached_tree_ = QPixmap();