aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/mainDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/GuiClient/mainDialog.cpp')
-rw-r--r--examples/GuiClient/mainDialog.cpp6
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)