From 1c820c4041051a23b6f165166ce293a7df680a49 Mon Sep 17 00:00:00 2001 From: gaelle Date: Wed, 6 Aug 2025 14:30:34 +0200 Subject: [PATCH] do not sort list as sdk already do it --- Linphone/core/chat/message/EventLogProxy.cpp | 5 +---- Linphone/view/Control/Popup/Dialog/AuthenticationDialog.qml | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Linphone/core/chat/message/EventLogProxy.cpp b/Linphone/core/chat/message/EventLogProxy.cpp index b34a5a06..f3f30bf2 100644 --- a/Linphone/core/chat/message/EventLogProxy.cpp +++ b/Linphone/core/chat/message/EventLogProxy.cpp @@ -134,8 +134,5 @@ bool EventLogProxy::SortFilterList::filterAcceptsRow(int sourceRow, const QModel } bool EventLogProxy::SortFilterList::lessThan(const QModelIndex &sourceLeft, const QModelIndex &sourceRight) const { - auto l = getItemAtSource(sourceLeft.row()); - auto r = getItemAtSource(sourceRight.row()); - if (l && r) return l->getTimestamp() <= r->getTimestamp(); - else return true; + return true; } diff --git a/Linphone/view/Control/Popup/Dialog/AuthenticationDialog.qml b/Linphone/view/Control/Popup/Dialog/AuthenticationDialog.qml index 7ebab2d5..2327817f 100644 --- a/Linphone/view/Control/Popup/Dialog/AuthenticationDialog.qml +++ b/Linphone/view/Control/Popup/Dialog/AuthenticationDialog.qml @@ -72,7 +72,6 @@ Dialog { id: passwordEdit hidden: true isError: passwordItem.errorTextVisible - KeyNavigation.up: usernameEdit KeyNavigation.down: cancelButton } }