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


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

The following commit has been merged in the master branch:
commit 3bfd11de773cafd073495bfc8fd3b593e694cc43
Author: Dan Vrátil <dvratil at redhat.com>
Date:   Sun Apr 13 16:31:31 2014 +0200

    Make an if condition nicer
---
 app/chat-window.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/chat-window.cpp b/app/chat-window.cpp
index 8608c0a..a7da574 100644
--- a/app/chat-window.cpp
+++ b/app/chat-window.cpp
@@ -193,7 +193,7 @@ ChatTab* ChatWindow::getTab(const Tp::AccountPtr &account, const Tp::TextChannel
     ChatTab *match = 0;
 
     // if targetHandle is None, targetId is also "", therefore we won't be able to find it.
-    if (!incomingTextChannel->targetHandleType() == Tp::HandleTypeNone) {
+    if (incomingTextChannel->targetHandleType() != Tp::HandleTypeNone) {
 
         //loop through all tabs checking for matches
         for (int index = 0; index < m_tabWidget->count() && !match; ++index) {

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list