mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-15 20:17:59 +00:00
fix(Chat): use QtQuick.ListView.Beginning instead of ListView.Beginning
This commit is contained in:
parent
c144deecc7
commit
0d0a2d4252
1 changed files with 3 additions and 1 deletions
|
|
@ -2,6 +2,8 @@
|
|||
// `Chat.qml` Logic.
|
||||
// =============================================================================
|
||||
|
||||
.import QtQuick 2.7 as QtQuick
|
||||
|
||||
.import Linphone 1.0 as Linphone
|
||||
|
||||
.import 'qrc:/ui/scripts/LinphoneUtils/linphone-utils.js' as LinphoneUtils
|
||||
|
|
@ -51,7 +53,7 @@ function handleFilesDropped (files) {
|
|||
}
|
||||
|
||||
function handleMoreEntriesLoaded (n) {
|
||||
chat.positionViewAtIndex(n - 1, ListView.Beginning)
|
||||
chat.positionViewAtIndex(n - 1, QtQuick.ListView.Beginning)
|
||||
chat.tryToLoadMoreEntries = false
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue