Qt,Qt5: call inherited Create for TStrings.

git-svn-id: branches/fixes_2_0@60182 -
This commit is contained in:
mattias 2019-01-24 09:44:26 +00:00
parent 651746a306
commit b21c0f8f75
2 changed files with 4 additions and 0 deletions

View File

@ -4764,12 +4764,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

@ -4761,12 +4761,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;