mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: apply DarwinImageCacheManager in SmartFolderSearchResultFileSource
This commit is contained in:
parent
3102018072
commit
8d784194e6
1 changed files with 1 additions and 4 deletions
|
|
@ -151,11 +151,8 @@ end;
|
|||
function TSmartFolderSearchResultFileSource.GetCustomIcon(
|
||||
const path: String;
|
||||
const iconSize: Integer ): TBitmap;
|
||||
var
|
||||
image: NSImage;
|
||||
begin
|
||||
image:= TDarwinFileUtil.getIconForExt( 'savedSearch' );
|
||||
Result:= TDarwinImageUtil.toBitmap( image );
|
||||
Result:= darwinImageCacheManager.copyIconForFileExt( 'savedSearch', iconSize );
|
||||
end;
|
||||
|
||||
{ TDarwinSearchResultHandler }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue