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


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

The following commit has been merged in the master branch:
commit 6715622dedc5e886c861ff5e78b382ca5a780e10
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date:   Mon Jul 18 18:00:28 2011 +0200

    Remove the group from server as well
    
    Reviewed-by: David Edmundson
---
 main-widget.cpp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/main-widget.cpp b/main-widget.cpp
index 547433d..68c8333 100644
--- a/main-widget.cpp
+++ b/main-widget.cpp
@@ -999,6 +999,14 @@ void MainWidget::onDeleteGroup()
             connect(operation, SIGNAL(finished(Tp::PendingOperation*)),
                     SLOT(slotGenericOperationFinished(Tp::PendingOperation*)));
         }
+
+        foreach (const Tp::AccountPtr &account, m_accountManager->allAccounts()) {
+            if (account->connection()) {
+                Tp::PendingOperation *operation = account->connection()->contactManager()->removeGroup(groupItem->groupName());
+                connect(operation, SIGNAL(finished(Tp::PendingOperation*)),
+                        SLOT(slotGenericOperationFinished(Tp::PendingOperation*)));
+            }
+        }
     }
 }
 

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list