mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
hopefully the dock amount-completed badging is more consistent
This commit is contained in:
@@ -173,9 +173,11 @@
|
||||
//update dock badge
|
||||
if (baseChange || fSpeedBadge || speedChange)
|
||||
{
|
||||
[NSApp setApplicationIconImage: dockIcon ? dockIcon : fDockIcon];
|
||||
if (dockIcon)
|
||||
[dockIcon release];
|
||||
//copy to avoid badge not being cleared
|
||||
if (!dockIcon)
|
||||
dockIcon = [fDockIcon copy];
|
||||
[NSApp setApplicationIconImage: dockIcon];
|
||||
[dockIcon release];
|
||||
|
||||
fSpeedBadge = speedChange;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user