aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/mainDialog.cpp
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2010-10-17 06:53:41 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2010-10-17 06:53:41 +0000
commit09d422b88f38f96345ffe475361501e1073763f7 (patch)
tree5489469d6b874a9924e68ea153091ddd67423dea /examples/GuiClient/mainDialog.cpp
parent61996be757f5b705d1be997c015aa7c1a2625950 (diff)
downloadqxmpp-09d422b88f38f96345ffe475361501e1073763f7.tar.gz
cleanup
Diffstat (limited to 'examples/GuiClient/mainDialog.cpp')
-rw-r--r--examples/GuiClient/mainDialog.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/GuiClient/mainDialog.cpp b/examples/GuiClient/mainDialog.cpp
index 2287801f..5f6aac2b 100644
--- a/examples/GuiClient/mainDialog.cpp
+++ b/examples/GuiClient/mainDialog.cpp
@@ -192,11 +192,9 @@ void mainDialog::rosterChanged(const QString& bareJid)
m_rosterItemModel.updateRosterEntry(bareJid, m_xmppClient.rosterManager().
getRosterEntry(bareJid));
- // if available in cache, update it
+ // if available in cache, update it else based on presence it will request if not available
if(m_vCardCache.isVCardAvailable(bareJid))
updateVCard(bareJid);
-// else
-// m_vCardCache.requestVCard(bareJid);
}
void mainDialog::rosterReceived()