From 09d422b88f38f96345ffe475361501e1073763f7 Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Sun, 17 Oct 2010 06:53:41 +0000 Subject: cleanup --- examples/GuiClient/mainDialog.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'examples/GuiClient/mainDialog.cpp') 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() -- cgit v1.2.3