From bf7810aab24178ccd2a84ad2c77e9b8aac683cbc Mon Sep 17 00:00:00 2001 From: csoler Date: Tue, 8 Feb 2011 22:42:49 +0000 Subject: [PATCH] extended peer filtering to unvalidated peers git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4024 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/NetworkDialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/retroshare-gui/src/gui/NetworkDialog.cpp b/retroshare-gui/src/gui/NetworkDialog.cpp index 2ac199f49..298c74edf 100644 --- a/retroshare-gui/src/gui/NetworkDialog.cpp +++ b/retroshare-gui/src/gui/NetworkDialog.cpp @@ -858,6 +858,10 @@ void NetworkDialog::FilterItems() for (int nIndex = 0; nIndex < nCount; nIndex++) { FilterItem(ui.connecttreeWidget->topLevelItem(nIndex), sPattern, nFilterColumn); } + nCount = ui.unvalidGPGkeyWidget->topLevelItemCount (); + for (int nIndex = 0; nIndex < nCount; nIndex++) { + FilterItem(ui.unvalidGPGkeyWidget->topLevelItem(nIndex), sPattern, nFilterColumn); + } } bool NetworkDialog::FilterItem(QTreeWidgetItem *pItem, QString &sPattern, int nFilterColumn)