do not sort list as sdk already do it

This commit is contained in:
gaelle 2025-08-06 14:30:34 +02:00
parent 2b328583ec
commit 1c820c4041
2 changed files with 1 additions and 5 deletions

View file

@ -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<EventLogList, EventLogCore>(sourceLeft.row());
auto r = getItemAtSource<EventLogList, EventLogCore>(sourceRight.row());
if (l && r) return l->getTimestamp() <= r->getTimestamp();
else return true;
return true;
}

View file

@ -72,7 +72,6 @@ Dialog {
id: passwordEdit
hidden: true
isError: passwordItem.errorTextVisible
KeyNavigation.up: usernameEdit
KeyNavigation.down: cancelButton
}
}