mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 19:39:18 +02:00
LCL: suppress useless warnings in ShellCtrls unit.
git-svn-id: trunk@62076 -
This commit is contained in:
parent
fa7f6f5bbc
commit
5a8f370fce
@ -905,7 +905,7 @@ begin
|
||||
//Yes, we want to remove the backslash,so don't use ChompPathDelim here
|
||||
TShellTreeNode(NewNode).FFileInfo.Name := ExcludeTrailingBackslash(pDrive);
|
||||
//On NT platforms drive-roots really have these attributes
|
||||
TShellTreeNode(NewNode).FFileInfo.Attr := faDirectory + faSysFile + faHidden;
|
||||
TShellTreeNode(NewNode).FFileInfo.Attr := faDirectory + faSysFile{%H-} + faHidden{%H-};
|
||||
TShellTreeNode(NewNode).SetBasePath('');
|
||||
NewNode.HasChildren := True;
|
||||
Inc(pDrive, 4);
|
||||
|
Loading…
Reference in New Issue
Block a user