mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 09:56:12 +02:00
Qt,Qt5: call inherited Create for TStrings
git-svn-id: trunk@60076 -
This commit is contained in:
parent
361e42f65a
commit
e7abcc7ff1
@ -4765,12 +4765,14 @@ end;
|
|||||||
|
|
||||||
constructor TQtStringList.Create;
|
constructor TQtStringList.Create;
|
||||||
begin
|
begin
|
||||||
|
inherited Create;
|
||||||
FHandle := QStringList_create();
|
FHandle := QStringList_create();
|
||||||
FOwnHandle := True;
|
FOwnHandle := True;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
constructor TQtStringList.Create(Source: QStringListH);
|
constructor TQtStringList.Create(Source: QStringListH);
|
||||||
begin
|
begin
|
||||||
|
inherited Create;
|
||||||
FHandle := Source;
|
FHandle := Source;
|
||||||
FOwnHandle := False;
|
FOwnHandle := False;
|
||||||
end;
|
end;
|
||||||
|
@ -4762,12 +4762,14 @@ end;
|
|||||||
|
|
||||||
constructor TQtStringList.Create;
|
constructor TQtStringList.Create;
|
||||||
begin
|
begin
|
||||||
|
inherited Create;
|
||||||
FHandle := QStringList_create();
|
FHandle := QStringList_create();
|
||||||
FOwnHandle := True;
|
FOwnHandle := True;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
constructor TQtStringList.Create(Source: QStringListH);
|
constructor TQtStringList.Create(Source: QStringListH);
|
||||||
begin
|
begin
|
||||||
|
inherited Create;
|
||||||
FHandle := Source;
|
FHandle := Source;
|
||||||
FOwnHandle := False;
|
FOwnHandle := False;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user