fix(taskManager):解决在mpris为非视频情况下,预览图类型显示不正确问题

This commit is contained in:
qiqi49 2024-06-04 17:54:12 +08:00 committed by He Sir
parent b867da4f1a
commit 2eed72e21a
1 changed files with 3 additions and 1 deletions

View File

@ -289,8 +289,10 @@ MouseArea {
if (mprisModel.count > 0) {
if (mprisModel.isCurrentMediaVideo) {
return videoThumbnailComponent;
} else {
} else if (mprisModel.isCurrentMediaAudio) {
return musicThumbanilComponent;
} else {
return thumbnailComponent;
}
} else {
return thumbnailComponent;