diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-05-14 12:24:07 +0200 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-05-14 12:24:07 +0200 |
| commit | ddbd1af3debdca662045900768b19c7d4a20efab (patch) | |
| tree | 85451210044b6642e3811637a22337bbcac24b2f /examples/GuiClient/mainDialog.cpp | |
| parent | 08666775ceed284764894b82e67256c176cd35fa (diff) | |
| download | qxmpp-ddbd1af3debdca662045900768b19c7d4a20efab.tar.gz | |
fix compilation of GuiClient
Diffstat (limited to 'examples/GuiClient/mainDialog.cpp')
| -rw-r--r-- | examples/GuiClient/mainDialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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) |
