From 0e78091bff8cc7c3ff232ba3bd0ac3f267b8388a Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Wed, 29 Sep 2010 04:09:24 +0000 Subject: duplicate features are also possible, remove those too --- examples/GuiClient/profileDialog.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/GuiClient/profileDialog.cpp') diff --git a/examples/GuiClient/profileDialog.cpp b/examples/GuiClient/profileDialog.cpp index 0b63b4c8..72bef0a4 100644 --- a/examples/GuiClient/profileDialog.cpp +++ b/examples/GuiClient/profileDialog.cpp @@ -161,6 +161,8 @@ QString profileDialog::getCapability(const QString& resource) } resultIdentities.removeDuplicates(); + resultFeatures.removeDuplicates(); + QString result; result += "Disco Identities:
"; result += resultIdentities.join("
"); -- cgit v1.2.3