[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9

Maximiliano Curia maxy at moszumanska.debian.org
Mon May 9 09:05:42 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=9197072

The following commit has been merged in the master branch:
commit 9197072a0a462a0dfa4a2642ba065f409cc79ed3
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Fri Aug 27 11:22:09 2010 +0000

    Make sure we only connect to the account item onTitleUpdated slot once.
    
    This fixes a bug in which editing a jabber account, then editing it again will result in 4 sets of tabs the second time.
    
    
    svn path=/trunk/playground/network/telepathy-accounts-kcm/; revision=1168777
---
 KTp/Models/accounts-list-model.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/KTp/Models/accounts-list-model.cpp b/KTp/Models/accounts-list-model.cpp
index 0f607f2..165fb27 100644
--- a/KTp/Models/accounts-list-model.cpp
+++ b/KTp/Models/accounts-list-model.cpp
@@ -156,6 +156,7 @@ void AccountsListModel::editAccount(const QModelIndex &index)
         return;
     }
 
+      accountItem->disconnect();
 	connect(accountItem, SIGNAL(protocolSelected(QString, QString)),
 		this, SIGNAL(protocolSelected(QString, QString)));
 	connect(this, SIGNAL(setTitleForCustomPages(QString, QList<QString>)),

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list