Fix QSearchField on macOS

This commit is contained in:
Jonas Kvinge
2021-03-15 22:38:06 +01:00
parent d84aebd8f4
commit f5bb15f72e
5 changed files with 32 additions and 14 deletions

View File

@@ -163,14 +163,6 @@ void AlbumCoverSearcher::Init(AlbumCoverFetcher *fetcher) {
AlbumCoverImageResult AlbumCoverSearcher::Exec(const QString &artist, const QString &album) {
#ifdef Q_OS_MACOS
ui_->artist->clear();
ui_->album->clear();
model_->clear();
cover_loading_tasks_.clear();
show();
#endif
ui_->artist->setText(artist);
ui_->album->setText(album);
ui_->artist->setFocus();