hopefully really fix that badging issue
This commit is contained in:
parent
08cf33e10e
commit
769daba0a5
|
@ -64,13 +64,14 @@
|
|||
fCompletedBadged = fCompleted;
|
||||
|
||||
//force image to reload - copy does not work
|
||||
NSImage * icon = [NSImage imageNamed: @"NSApplicationIcon"];
|
||||
NSImage * icon = [[NSImage imageNamed: @"NSApplicationIcon"] copy];
|
||||
NSSize iconSize = [icon size];
|
||||
|
||||
if (fDockIcon)
|
||||
[fDockIcon release];
|
||||
fDockIcon = [[NSImage alloc] initWithSize: iconSize];
|
||||
[fDockIcon addRepresentation: [icon bestRepresentationForDevice: nil]];
|
||||
[icon release];
|
||||
|
||||
if (fCompleted > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue