Ignore:
Timestamp:
Jul 10, 2019, 11:35:10 PM (5 years ago)
Author:
chronos
Message:
  • Fixed: Corrected dimensions in About dialog.
  • Removed: Old Player and Players forms replaced by general item list.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormAbout.pas

    r243 r301  
    2424    procedure FormCreate(Sender: TObject);
    2525    procedure FormShow(Sender: TObject);
    26   private
    27     { private declarations }
    2826  public
    29     { public declarations }
     27    ApplicationInfo: TApplicationInfo;
    3028  end;
    3129
     
    5048begin
    5149  Core.ThemeManager1.UseTheme(Self);
    52   with Core do begin
     50  if Assigned(ApplicationInfo) then begin
    5351    LabelAppName.Caption := ApplicationInfo.AppName;
    5452    LabelContent.Caption := SVersion + ': ' + ApplicationInfo.Version + LineEnding +
    5553      SReleaseDate + ': ' + DateToStr(ApplicationInfo.ReleaseDate) + LineEnding +
    5654      SLicense + ': ' + ApplicationInfo.License;
     55    LabelDescription.Caption := ApplicationInfo.Description;
    5756  end;
    5857end;
     
    6059procedure TFormAbout.ButtonHomePageClick(Sender: TObject);
    6160begin
    62   OpenWebPage(Core.ApplicationInfo.HomePage);
     61  if Assigned(ApplicationInfo) then
     62    OpenWebPage(ApplicationInfo.HomePage);
    6363end;
    6464
Note: See TracChangeset for help on using the changeset viewer.