From ddbd1af3debdca662045900768b19c7d4a20efab Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Mon, 14 May 2012 12:24:07 +0200 Subject: fix compilation of GuiClient --- examples/GuiClient/mainDialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/GuiClient/mainDialog.cpp') diff --git a/examples/GuiClient/mainDialog.cpp b/examples/GuiClient/mainDialog.cpp index f172383b..2c5bc000 100644 --- a/examples/GuiClient/mainDialog.cpp +++ b/examples/GuiClient/mainDialog.cpp @@ -347,7 +347,7 @@ chatDialog* mainDialog::getChatDialog(const QString& bareJid) m_chatDlgsList[bareJid]->setDisplayName(m_rosterItemModel. getRosterItemFromBareJid(bareJid)->getName()); else - m_chatDlgsList[bareJid]->setDisplayName(jidToUser(bareJid)); + m_chatDlgsList[bareJid]->setDisplayName(QXmppUtils::jidToUser(bareJid)); m_chatDlgsList[bareJid]->setQXmppClient(&m_xmppClient); } @@ -364,8 +364,8 @@ void mainDialog::showChatDialog(const QString& bareJid) void mainDialog::messageReceived(const QXmppMessage& msg) { QString from = msg.from(); - getChatDialog(jidToBareJid(from))->show(); - getChatDialog(jidToBareJid(from))->messageReceived(msg.body()); + getChatDialog(QXmppUtils::jidToBareJid(from))->show(); + getChatDialog(QXmppUtils::jidToBareJid(from))->messageReceived(msg.body()); } void mainDialog::statusTextChanged(const QString& status) -- cgit v1.2.3