mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 08:29:37 +02:00
Merged revision(s) 55453 #3a95ba5f79 from trunk:
QT, QT5: Initialize WideString Result in TQtTextEdit methods. ........ git-svn-id: branches/fixes_1_8@55471 -
This commit is contained in:
parent
56b247bb3a
commit
e3226dc645
@ -9966,6 +9966,7 @@ end;
|
|||||||
|
|
||||||
function TQtTextEdit.getText: WideString;
|
function TQtTextEdit.getText: WideString;
|
||||||
begin
|
begin
|
||||||
|
Result := '';
|
||||||
QTextEdit_toPlainText(QTextEditH(Widget), @Result);
|
QTextEdit_toPlainText(QTextEditH(Widget), @Result);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -9931,6 +9931,7 @@ end;
|
|||||||
|
|
||||||
function TQtTextEdit.getText: WideString;
|
function TQtTextEdit.getText: WideString;
|
||||||
begin
|
begin
|
||||||
|
Result := '';
|
||||||
QTextEdit_toPlainText(QTextEditH(Widget), @Result);
|
QTextEdit_toPlainText(QTextEditH(Widget), @Result);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user