Fix compile with Qt 5
Forgot to test the changes from the last commit with Qt 5
This commit is contained in:
@@ -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_);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user