mirror of https://gitlab.com/basile.b/dexed.git
remove workaround for a LCL bug that only existed in 2.2.0-RC1
This commit is contained in:
parent
846f86fb40
commit
250b6960d8
|
@ -372,10 +372,6 @@ begin
|
|||
end;
|
||||
|
||||
destructor TMiniExplorerWidget.destroy;
|
||||
{$if lcl_fullversion >= 2020000}
|
||||
var
|
||||
i: integer;
|
||||
{$endif}
|
||||
begin
|
||||
|
||||
fMnxSubj.free;
|
||||
|
@ -388,11 +384,6 @@ begin
|
|||
free;
|
||||
end;
|
||||
|
||||
{$if lcl_fullversion >= 2020000}
|
||||
for i := 0 to lstFav.Items.Count-1 do
|
||||
lstFavDeletion(nil, lstfav.Items[i]);
|
||||
{$endif}
|
||||
|
||||
fEditableOptions.Free;
|
||||
fFavorites.Free;
|
||||
inherited;
|
||||
|
@ -474,15 +465,13 @@ procedure TMiniExplorerWidget.updateFavorites;
|
|||
var
|
||||
itm: TListItem;
|
||||
fold: string;
|
||||
dat: PString;
|
||||
begin
|
||||
lstFav.Clear;
|
||||
for fold in fFavorites do
|
||||
begin
|
||||
itm := lstFav.Items.Add;
|
||||
itm.Caption := shortenPath(fold);
|
||||
dat := NewStr(fold);
|
||||
itm.Data := dat;
|
||||
itm.Data := NewStr(fold);
|
||||
itm.ImageIndex := 2;
|
||||
end;
|
||||
end;
|
||||
|
|
Loading…
Reference in New Issue