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


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=bb7cec1

The following commit has been merged in the master branch:
commit bb7cec13c4506ca2549289d301094ec9c6dcee5b
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Thu Dec 8 21:45:46 2011 +0000

    Clarify misleading code comment
---
 app/chat-window.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/chat-window.cpp b/app/chat-window.cpp
index e213912..d45cf57 100644
--- a/app/chat-window.cpp
+++ b/app/chat-window.cpp
@@ -141,10 +141,10 @@ ChatTab* ChatWindow::getTab(const Tp::TextChannelPtr& incomingTextChannel)
 {
     ChatTab* match = 0;
 
-    // if targetHandle is None, targetId is also ""
+    // if targetHandle is None, targetId is also "", therefore we won't be able to find it.
     if (!incomingTextChannel->targetHandleType() == Tp::HandleTypeNone) {
 
-        // check that the tab requested isn't already open
+        //loop through all tabs checking for matches
         for (int index = 0; index < m_tabWidget->count() && !match; ++index) {
 
             // get chatWidget object
@@ -152,7 +152,7 @@ ChatTab* ChatWindow::getTab(const Tp::TextChannelPtr& incomingTextChannel)
 
             Q_ASSERT(auxChatTab);
 
-            // check for 1on1 duplicate chat
+            // check for duplicate chat
             if (auxChatTab->textChannel()->targetId() == incomingTextChannel->targetId()
             && auxChatTab->textChannel()->targetHandleType() == incomingTextChannel->targetHandleType()) {
                 match = auxChatTab;

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list