mirror of
https://github.com/transmission/transmission.git
synced 2025-12-27 13:41:17 +00:00
replace 'fldr' with kGenericFolderIcon
This commit is contained in:
@@ -146,7 +146,7 @@
|
||||
const BOOL multifile = !fInfo->isSingleFile;
|
||||
|
||||
NSImage * icon = [[NSWorkspace sharedWorkspace] iconForFileType: multifile
|
||||
? NSFileTypeForHFSTypeCode('fldr') : [fPath pathExtension]];
|
||||
? NSFileTypeForHFSTypeCode(kGenericFolderIcon) : [fPath pathExtension]];
|
||||
[icon setSize: [fIconView frame].size];
|
||||
[fIconView setImage: icon];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user