[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:04:39 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=619f6a2
The following commit has been merged in the master branch:
commit 619f6a20866e1b0fe43be83343c34be7a17476b7
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date: Fri Oct 28 16:59:13 2011 +0200
Fix a crash with debug builds (hitting an assert inside Qt)
Reviewed-by: Francesco Nwokeka
BUG: 274942
---
models/accounts-model-item.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/models/accounts-model-item.cpp b/models/accounts-model-item.cpp
index 94ecfda..d854d8e 100644
--- a/models/accounts-model-item.cpp
+++ b/models/accounts-model-item.cpp
@@ -282,7 +282,9 @@ void AccountsModelItem::onContactsChanged(const Tp::Contacts &addedContacts,
newNodes.append(new ContactModelItem(contact));
}
}
- emit childrenAdded(this, newNodes);
+ if (!newNodes.isEmpty()) {
+ emit childrenAdded(this, newNodes);
+ }
countOnlineContacts();
}
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list