[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:31 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=20e3533
The following commit has been merged in the master branch:
commit 20e35330eaed7caad0ea4841d6b88e19ad48d507
Author: David Edmundson <kde at davidedmundson.co.uk>
Date: Mon May 30 12:13:19 2011 +0100
Fix groups model "note updated" signal, removed horrific hack which kept invalidating the model filter.
BUG: 273725
REVIEW: 101473
---
models/proxy-tree-node.cpp | 8 +++++++-
models/proxy-tree-node.h | 1 +
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/models/proxy-tree-node.cpp b/models/proxy-tree-node.cpp
index 0dfa373..3a5dae5 100644
--- a/models/proxy-tree-node.cpp
+++ b/models/proxy-tree-node.cpp
@@ -23,6 +23,7 @@
#include "proxy-tree-node.h"
#include "tree-node.h"
#include "contact-model-item.h"
+#include "accounts-model.h"
struct ProxyTreeNode::Private
{
@@ -54,7 +55,7 @@ ProxyTreeNode::ProxyTreeNode(ContactModelItem *sourceNode)
connect(sourceNode,
SIGNAL(changed(TreeNode*)),
- SIGNAL(changed(TreeNode*)));
+ SLOT(onSourceChanged()));
}
ProxyTreeNode::~ProxyTreeNode()
@@ -82,3 +83,8 @@ void ProxyTreeNode::onSourceNodeRemoved()
remove();
}
+
+void ProxyTreeNode::onSourceChanged()
+{
+ emit changed(this);
+}
diff --git a/models/proxy-tree-node.h b/models/proxy-tree-node.h
index 347210a..ae123d1 100644
--- a/models/proxy-tree-node.h
+++ b/models/proxy-tree-node.h
@@ -41,6 +41,7 @@ public:
public Q_SLOTS:
void onSourceNodeRemoved();
+ void onSourceChanged();
Q_SIGNALS:
void contactAddedToGroup(const QString& group);
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list