[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:24:20 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=315d9e6
The following commit has been merged in the master branch:
commit 315d9e6109a273022a56880b1e0d7b37345c93ae
Author: Ilya Katsnelson <k0009000 at gmail.com>
Date: Sat Nov 2 10:17:02 2013 +0100
Fix sorting in MUC contact list
REVIEW: 113579
BUG: 327023
FIXED-IN: 0.7.1
---
lib/chat-widget.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/chat-widget.cpp b/lib/chat-widget.cpp
index 71650c2..7c64815 100644
--- a/lib/chat-widget.cpp
+++ b/lib/chat-widget.cpp
@@ -133,7 +133,10 @@ ChatWidget::ChatWidget(const Tp::TextChannelPtr & channel, const Tp::AccountPtr
QSortFilterProxyModel *sortModel = new QSortFilterProxyModel(this);
sortModel->setSourceModel(d->contactModel);
sortModel->setSortRole(Qt::DisplayRole);
+ sortModel->setSortCaseSensitivity(Qt::CaseInsensitive);
+ sortModel->setSortLocaleAware(true);
sortModel->setDynamicSortFilter(true);
+ sortModel->sort(0);
d->ui.contactsView->setModel(sortModel);
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list