diff options
Diffstat (limited to 'src/controls/Private/ScrollViewHelper.qml')
-rw-r--r-- | src/controls/Private/ScrollViewHelper.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/controls/Private/ScrollViewHelper.qml b/src/controls/Private/ScrollViewHelper.qml index c16c55b8..f5ef5b17 100644 --- a/src/controls/Private/ScrollViewHelper.qml +++ b/src/controls/Private/ScrollViewHelper.qml @@ -86,19 +86,19 @@ Item { Connections { target: viewport - onWidthChanged: layoutTimer.running = true - onHeightChanged: layoutTimer.running = true + function onWidthChanged() { layoutTimer.running = true } + function onHeightChanged() { layoutTimer.running = true } } Connections { target: flickableItem - onContentWidthChanged: layoutTimer.running = true - onContentHeightChanged: layoutTimer.running = true - onContentXChanged: { + function onContentWidthChanged() { layoutTimer.running = true } + function onContentHeightChanged() { layoutTimer.running = true } + function onContentXChanged() { hscrollbar.flash() vscrollbar.flash() } - onContentYChanged: { + function onContentYChanged() { hscrollbar.flash() vscrollbar.flash() } |