Skip to content

Commit

Permalink
About GPL form fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
eiroca committed Jan 25, 2019
1 parent 1f77c0f commit cbbe88b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
15 changes: 15 additions & 0 deletions src/libVCL/FAboutGPL.pas
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ TfmAboutGPL = class(TForm)
{ Public declarations }
end;

procedure AboutGPL(me: string);

implementation

{$IFDEF FPC}
Expand All @@ -46,4 +48,17 @@ implementation
{$R *.DFM}
{$ENDIF}

procedure AboutGPL(me: string);
var
fmAbout: TfmAboutGPL;
begin
fmAbout:= TfmAboutGPL.Create(nil);
try
fmAbout.Caption:= 'About - ' + me;
fmAbout.ShowModal;
finally
fmAbout.Free;
end;
end;

end.
15 changes: 0 additions & 15 deletions src/libVCL/eLibVCL.pas
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ TProgress = class(TInterfacedObject, IProgress)
read GetAborted;
end;

procedure AboutGPL(me: string);

implementation

uses
Expand Down Expand Up @@ -214,17 +212,4 @@ destructor TProgress.Destroy;
FreeAndNil(wait);
end;

procedure AboutGPL(me: string);
var
fmAbout: TfmAboutGPL;
begin
fmAbout:= TfmAboutGPL.Create(nil);
try
fmAbout.Caption:= 'About - ' + me;
fmAbout.ShowModal;
finally
fmAbout.Free;
end;
end;

end.

0 comments on commit cbbe88b

Please sign in to comment.