mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 22:58:50 +02:00
IDE: cleanup
git-svn-id: trunk@57884 -
This commit is contained in:
parent
f654d33405
commit
d3139bec7c
@ -85,8 +85,6 @@ type
|
||||
TPkgComponent = class(TRegisteredComponent)
|
||||
private
|
||||
FPkgFile: TPkgFile;
|
||||
FIcon: TCustomBitmap;
|
||||
FIconLoaded: boolean;
|
||||
procedure SetPkgFile(const AValue: TPkgFile);
|
||||
public
|
||||
constructor Create(ThePkgFile: TPkgFile; TheComponentClass: TComponentClass;
|
||||
@ -3930,11 +3928,6 @@ end;
|
||||
destructor TPkgComponent.Destroy;
|
||||
begin
|
||||
PkgFile:=nil;
|
||||
if fIconLoaded then begin
|
||||
FIcon.Free;
|
||||
FIcon:=nil;
|
||||
fIconLoaded:=false;
|
||||
end;
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user