[SCM] ktp-contact-list packaging branch, master, updated. debian/15.12.1-2-1070-g6c56f91

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:04:38 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=2a5843b

The following commit has been merged in the master branch:
commit 2a5843b46feeb0878f6d90d4200ea239ff022d08
Author: George Goldberg <grundleborg at googlemail.com>
Date:   Wed Mar 10 18:16:13 2010 +0000

    ContactsListModel: Inherit from QAbstractItemModel instead of QAbstractListModel.
    
    This is a fairly cosmetic change since we reimplement most of the relevant methods already anyway.
    
    svn path=/trunk/playground/network/telepathy-contactlist/; revision=1101722
---
 contacts-list-model.cpp | 2 +-
 contacts-list-model.h   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/contacts-list-model.cpp b/contacts-list-model.cpp
index 65dd5ec..2be7236 100644
--- a/contacts-list-model.cpp
+++ b/contacts-list-model.cpp
@@ -41,7 +41,7 @@
 #include <Soprano/QueryResultIterator>
 
 ContactsListModel::ContactsListModel(QObject *parent)
- : QAbstractListModel(parent)
+ : QAbstractItemModel(parent)
 {
     kDebug();
 
diff --git a/contacts-list-model.h b/contacts-list-model.h
index 31bc134..f0ba973 100644
--- a/contacts-list-model.h
+++ b/contacts-list-model.h
@@ -22,11 +22,11 @@
 #ifndef TELEPATHY_CONTACTSLIST_PROTOTYPE_CONTACTS_LIST_MODEL_H
 #define TELEPATHY_CONTACTSLIST_PROTOTYPE_CONTACTS_LIST_MODEL_H
 
-#include <QtCore/QAbstractListModel>
+#include <QtCore/QAbstractItemModel>
 
 class ContactItem;
 
-class ContactsListModel : public QAbstractListModel
+class ContactsListModel : public QAbstractItemModel
 {
     Q_OBJECT
 

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list