diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2019-10-09 14:58:03 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-10-20 19:15:57 +0200 |
| commit | bdac502eadd746ee101b95e8d546b6bb754afdeb (patch) | |
| tree | b5d02d7094ef727ac4ede73e232740d9c72fb0bb /src/controls/TextArea.qml | |
| parent | 158b7dafcb21b6f8816841636afba13ebde1c62a (diff) | |
Adapt to new Connections syntax
Change-Id: I299baf89f2530250a333736bb31f4ae470610176
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/controls/TextArea.qml')
| -rw-r--r-- | src/controls/TextArea.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controls/TextArea.qml b/src/controls/TextArea.qml index 898773142..59280833a 100644 --- a/src/controls/TextArea.qml +++ b/src/controls/TextArea.qml @@ -765,8 +765,8 @@ ScrollView { Connections { target: area.viewport - onWidthChanged: edit.doLayout() - onHeightChanged: edit.doLayout() + function onWidthChanged() { edit.doLayout() } + function onHeightChanged() { edit.doLayout() } } onContentWidthChanged: edit.doLayout() onContentHeightChanged: edit.doLayout() |
