Commit 0d0a2d42 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(Chat): use QtQuick.ListView.Beginning instead of ListView.Beginning

parent c144deec
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
// `Chat.qml` Logic. // `Chat.qml` Logic.
// ============================================================================= // =============================================================================
.import QtQuick 2.7 as QtQuick
.import Linphone 1.0 as Linphone .import Linphone 1.0 as Linphone
.import 'qrc:/ui/scripts/LinphoneUtils/linphone-utils.js' as LinphoneUtils .import 'qrc:/ui/scripts/LinphoneUtils/linphone-utils.js' as LinphoneUtils
...@@ -51,7 +53,7 @@ function handleFilesDropped (files) { ...@@ -51,7 +53,7 @@ function handleFilesDropped (files) {
} }
function handleMoreEntriesLoaded (n) { function handleMoreEntriesLoaded (n) {
chat.positionViewAtIndex(n - 1, ListView.Beginning) chat.positionViewAtIndex(n - 1, QtQuick.ListView.Beginning)
chat.tryToLoadMoreEntries = false chat.tryToLoadMoreEntries = false
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment