Qt,Qt5: call inherited Create for TStrings

git-svn-id: trunk@60076 -
This commit is contained in:
zeljko 2019-01-13 20:45:45 +00:00
parent 361e42f65a
commit e7abcc7ff1
2 changed files with 4 additions and 0 deletions

View File

@ -4765,12 +4765,14 @@ end;
constructor TQtStringList.Create;
begin
inherited Create;
FHandle := QStringList_create();
FOwnHandle := True;
end;
constructor TQtStringList.Create(Source: QStringListH);
begin
inherited Create;
FHandle := Source;
FOwnHandle := False;
end;

View File

@ -4762,12 +4762,14 @@ end;
constructor TQtStringList.Create;
begin
inherited Create;
FHandle := QStringList_create();
FOwnHandle := True;
end;
constructor TQtStringList.Create(Source: QStringListH);
begin
inherited Create;
FHandle := Source;
FOwnHandle := False;
end;