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


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

The following commit has been merged in the master branch:
commit ce319561919e389f6acdc0ff2d14b1a4f6c68eaf
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date:   Thu Mar 17 22:06:01 2011 +0100

    Make sure the disconnected account group gets filtered out.
---
 main-widget.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/main-widget.cpp b/main-widget.cpp
index 92d8ca9..b78b4bc 100644
--- a/main-widget.cpp
+++ b/main-widget.cpp
@@ -206,9 +206,12 @@ void MainWidget::onAccountConnectionStatusChanged(Tp::ConnectionStatus status)
         //FIXME: Get the account (sender()) index and expand only that index
         m_contactsListView->expandAll();
         break;
+    case Tp::ConnectionStatusDisconnected:
+        // This will make sure that the empty account groups will be hidden
+        m_modelFilter->refilter();
+        break;
     //Fall through
     case Tp::ConnectionStatusConnecting:
-    case Tp::ConnectionStatusDisconnected:
     default:
         break;
     }

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list