Fix compile with Qt 5

Forgot to test the changes from the last commit with Qt 5
This commit is contained in:
Jonas Kvinge
2021-02-26 22:01:45 +01:00
parent 133f094d72
commit e15e7f0942
2 changed files with 3 additions and 3 deletions

View File

@@ -368,7 +368,7 @@ void AlbumCoverManager::Reset() {
}
if (ui_->artists->selectedItems().isEmpty()) {
ui_->artists->selectionModel()->setCurrentIndex(ui_->artists->indexFromItem(all_artists_), QItemSelectionModel::Clear);
ui_->artists->setCurrentItem(all_artists_);
}
}