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


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

The following commit has been merged in the master branch:
commit 506389482b2bf9b9e48d3d5b39a936c93a47b618
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date:   Wed Mar 13 18:37:26 2013 +0100

    Stop the spinner only after all the accounts are connected
    
    Currently the spinner on the presence chooser stops spinning
    as soon as the first account is connected. But it should be
    stopped only after all accounts are connected.
    GlobalPresence does signal that with onConnectionChanged(..),
    so let's just use that.
    
    REVIEW: 109429
---
 global-presence-chooser.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/global-presence-chooser.cpp b/global-presence-chooser.cpp
index f748197..f5d5939 100644
--- a/global-presence-chooser.cpp
+++ b/global-presence-chooser.cpp
@@ -187,6 +187,8 @@ GlobalPresenceChooser::GlobalPresenceChooser(QWidget *parent) :
     setEditable(false);
 
     onPresenceChanged(m_globalPresence->currentPresence());
+    //we need to check if there is some account connecting and if so, spin the spinner
+    onConnectionStatusChanged(m_globalPresence->connectionStatus());
 
     m_changePresenceMessageButton = new QPushButton(this);
     m_changePresenceMessageButton->setIcon(KIcon("document-edit"));
@@ -384,7 +386,6 @@ void GlobalPresenceChooser::onPresenceChanged(const KTp::Presence &presence)
             if (itemPresence != m_modelExtended->temporaryPresence()) {
                 m_modelExtended->removeTemporaryPresence();
             }
-            m_busyOverlay->stop();
             return;
         }
     }

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list