[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9

Maximiliano Curia maxy at moszumanska.debian.org
Mon May 9 09:06:22 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=27891ac

The following commit has been merged in the master branch:
commit 27891ac314b1fd71517070241dbc97019433a75c
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date:   Thu Feb 7 14:54:47 2013 +0100

    Fix bug in sorting. How could this live here for so long??!
    
    REVIEW: 108830
---
 KTp/Models/contacts-filter-model.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/KTp/Models/contacts-filter-model.cpp b/KTp/Models/contacts-filter-model.cpp
index f0372b4..3c88f37 100644
--- a/KTp/Models/contacts-filter-model.cpp
+++ b/KTp/Models/contacts-filter-model.cpp
@@ -847,11 +847,6 @@ bool ContactsFilterModel::lessThan(const QModelIndex &left, const QModelIndex &r
         }
     }
     case Qt::DisplayRole:
-    {
-        QString leftAlias = sourceModel()->data(left, Qt::DisplayRole).toString();
-        QString rightAlias = sourceModel()->data(right, Qt::DisplayRole).toString();
-        return QString::localeAwareCompare(rightAlias, rightAlias) < 0;
-    }
     default:
         return QString::localeAwareCompare(leftDisplayedName, rightDisplayedName) < 0;
     }

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list