fix(taskManager):解决在mpris为非视频情况下,预览图类型显示不正确问题
This commit is contained in:
parent
b867da4f1a
commit
2eed72e21a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue