aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/profileDialog.cpp
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2010-09-29 04:07:39 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2010-09-29 04:07:39 +0000
commit036b18ebd340cb9c1b237d07c2298fdb04998a70 (patch)
tree63816a2c41227cc6f744ab35dcdd650364f7e20c /examples/GuiClient/profileDialog.cpp
parentc238a23555bb8b9761b13e473e241bc1d4f4a6c2 (diff)
downloadqxmpp-036b18ebd340cb9c1b237d07c2298fdb04998a70.tar.gz
remove duplicate identities
Diffstat (limited to 'examples/GuiClient/profileDialog.cpp')
-rw-r--r--examples/GuiClient/profileDialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/GuiClient/profileDialog.cpp b/examples/GuiClient/profileDialog.cpp
index fc5c0a44..0b63b4c8 100644
--- a/examples/GuiClient/profileDialog.cpp
+++ b/examples/GuiClient/profileDialog.cpp
@@ -160,6 +160,7 @@ QString profileDialog::getCapability(const QString& resource)
}
}
+ resultIdentities.removeDuplicates();
QString result;
result += "<B>Disco Identities:</B><BR>";
result += resultIdentities.join("<BR>");