aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/profileDialog.cpp
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2010-09-29 04:09:24 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2010-09-29 04:09:24 +0000
commit0e78091bff8cc7c3ff232ba3bd0ac3f267b8388a (patch)
tree5c156c0f9211ac3598cf5873980aa689b29ea507 /examples/GuiClient/profileDialog.cpp
parent036b18ebd340cb9c1b237d07c2298fdb04998a70 (diff)
downloadqxmpp-0e78091bff8cc7c3ff232ba3bd0ac3f267b8388a.tar.gz
duplicate features are also possible, remove those too
Diffstat (limited to 'examples/GuiClient/profileDialog.cpp')
-rw-r--r--examples/GuiClient/profileDialog.cpp2
1 files changed, 2 insertions, 0 deletions
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 += "<B>Disco Identities:</B><BR>";
result += resultIdentities.join("<BR>");