[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:29 UTC 2016


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

The following commit has been merged in the master branch:
commit ba9d2a118f602a886c48ab491cb886040335d324
Author: Lasath Fernando <kde at lasath.org>
Date:   Sat Mar 2 01:04:32 2013 -0500

    Remove MessageItem
    
    Now that it's been replaced by KTp::Message in the only class it
    was used, it can safely be removed.
---
 KTp/Declarative/messages-model.cpp | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/KTp/Declarative/messages-model.cpp b/KTp/Declarative/messages-model.cpp
index 77f3479..e773e46 100644
--- a/KTp/Declarative/messages-model.cpp
+++ b/KTp/Declarative/messages-model.cpp
@@ -26,26 +26,8 @@
 #include <TelepathyQt/TextChannel>
 #include <TelepathyQt/Account>
 
-
 #include "KTp/message-processor.h"
 
-class MessageItem
-{
-  public:
-    QString user;
-    QString text;
-    QDateTime time;
-    QString id;
-    MessagesModel::MessageType type;
-
-    MessageItem(QString user, QString text, QDateTime time, MessagesModel::MessageType type, QString messageId)
-            : user(user), text(text), time(time), id(messageId), type(type) {
-        if (this->text.endsWith(QLatin1String("
"))) {
-            this->text.chop(1);
-        }
-    }
-};
-
 class MessagesModel::MessagesModelPrivate
 {
   public:

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list