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


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

The following commit has been merged in the master branch:
commit b280eb4f0be7eb74132c5436d73963f0c088dbc6
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Sat Mar 12 03:37:39 2011 +0000

    Avoid re-looking up the latest presence when it changes as we have the information to hand
    Also fixes a compile warning on unused variable
---
 account-button.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/account-button.cpp b/account-button.cpp
index f631180..0935a7c 100644
--- a/account-button.cpp
+++ b/account-button.cpp
@@ -173,7 +173,7 @@ void AccountButton::hideBusyIndicator()
 void AccountButton::preseneceChanged(Tp::Presence presence)
 {
     foreach (QAction *a, actions()) {
-        if (m_account->currentPresence().status() == qVariantValue<Tp::Presence>(a->data()).status()) {
+        if (presence.status() == qVariantValue<Tp::Presence>(a->data()).status()) {
             a->setChecked(true);
             updateToolTip();
             break;

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list