mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-03 10:57:33 +01:00
Fix albumcover searcher dialog not showing up on macOS
This commit is contained in:
parent
b6a9e1a996
commit
cb5222e4d6
@ -160,6 +160,14 @@ void AlbumCoverSearcher::Init(AlbumCoverFetcher *fetcher) {
|
|||||||
|
|
||||||
QImage AlbumCoverSearcher::Exec(const QString &artist, const QString &album) {
|
QImage 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_->artist->setText(artist);
|
||||||
ui_->album->setText(album);
|
ui_->album->setText(album);
|
||||||
ui_->artist->setFocus();
|
ui_->artist->setFocus();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user