[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:04 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=f618b7c
The following commit has been merged in the master branch:
commit f618b7c569d202c16969269036009dec496836b0
Author: David Edmundson <kde at davidedmundson.co.uk>
Date: Sat Jan 5 02:08:10 2013 +0000
Expose old GroupsModel::GroupNameRole in GroupsTreeProxyModel
---
KTp/Models/groups-tree-proxy-model.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/KTp/Models/groups-tree-proxy-model.cpp b/KTp/Models/groups-tree-proxy-model.cpp
index c034ae0..f9305e0 100644
--- a/KTp/Models/groups-tree-proxy-model.cpp
+++ b/KTp/Models/groups-tree-proxy-model.cpp
@@ -19,6 +19,7 @@
#include "groups-tree-proxy-model.h"
#include "contacts-model.h"
+#include "groups-model.h"
#include <KLocalizedString>
@@ -62,6 +63,12 @@ QVariant KTp::GroupsTreeProxyModel::dataForGroup(const QString &group, int role)
} else {
return group;
}
+ case GroupsModel::GroupNameRole:
+ if (group == QLatin1String("_unsorted")) {
+ return QString();
+ } else {
+ return group;
+ }
case ContactsModel::IdRole:
return group;
}
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list