mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
Merge branch 'fanpengcheng/bug6382' into 'maintain/5.0'
feat(sound):sound icon display error See merge request dde-v20/dde-dock!458
This commit is contained in:
commit
5844d7c973
@ -179,9 +179,9 @@ void SoundItem::refreshIcon()
|
||||
QString volumeString;
|
||||
if (mute)
|
||||
volumeString = "muted";
|
||||
else if (volmue / 1000.0f >= double(2) / 3)
|
||||
else if (volmue / 100.0f >= double(2) / 3)
|
||||
volumeString = "high";
|
||||
else if (volmue / 1000.0f >= double(1) / 3)
|
||||
else if (volmue / 100.0f >= double(1) / 3)
|
||||
volumeString = "medium";
|
||||
else
|
||||
volumeString = "low";
|
||||
|
Loading…
x
Reference in New Issue
Block a user